Class: AdminAssistant::HasManyColumn::SearchView

Inherits:
Column::View
  • Object
show all
Includes:
Column::SearchViewMethods
Defined in:
lib/admin_assistant/has_many_column.rb

Instance Attribute Summary

Attributes inherited from Column::View

#sort_order

Instance Method Summary collapse

Methods included from Column::SearchViewMethods

#set_instance_variables_from_options

Methods inherited from Column::View

#check_box_and_hidden_tags, #controller, #custom_template_file_path, #file_option_for_custom_template_render, #initialize, #label, #name, #paperclip?, #sort_possible?, #string, #value

Constructor Details

This class inherits a constructor from AdminAssistant::Column::View

Instance Method Details

#html(form) ⇒ Object



56
57
58
# File 'lib/admin_assistant/has_many_column.rb', line 56

def html(form)
  "<p><label>#{label}</label> <br/>#{form.text_field(name)}</p>"
end