class Basepack::Forms::Show
Public Instance Methods
default_partial()
click to toggle source
# File lib/basepack/forms/show.rb, line 4 def default_partial 'forms/show' end
render_field!(field)
click to toggle source
# File lib/basepack/forms/show.rb, line 8 def render_field!(field) if field.partial_show.present? view.render field.partial_show, form: self, field: field else view.form_field_show(field) end end