class CustomAttributes::TextFieldType

Public Instance Methods

edit_tag(view, tag_id, tag_name, custom_value, options={}) click to toggle source
# File lib/custom_attributes/field_types/text_field_type.rb, line 5
def edit_tag(view, tag_id, tag_name, custom_value, options={})
  view.text_area_tag(tag_name, custom_value.value, options.merge(:id => tag_id, :rows => 8))
end