Class: CustomAttributes::TextFieldType
- Includes:
- Singleton
- Defined in:
- lib/custom_attributes/field_types/text_field_type.rb
Instance Method Summary collapse
Methods inherited from Unbounded
Methods inherited from FieldType
#after_save_custom_value, available_types, #before_custom_field_save, #cast_custom_value, #cast_single_value, #cast_value, find, #label, #name, #possible_custom_value_options, #possible_values_options, #set_custom_field_value, #validate_custom_field, #validate_custom_value, #validate_single_value, #value_from_keyword
Instance Method Details
#edit_tag(view, tag_id, tag_name, custom_value, options = {}) ⇒ Object
5 6 7 |
# File 'lib/custom_attributes/field_types/text_field_type.rb', line 5 def edit_tag(view, tag_id, tag_name, custom_value, ={}) view.text_area_tag(tag_name, custom_value.value, .merge(:id => tag_id, :rows => 8)) end |