Sha256: a83f35b96852c7442999bf1b10df59418e47bd5a9736867d0ec57936c57f403a
Contents?: true
Size: 384 Bytes
Versions: 35
Compression:
Stored size: 384 Bytes
Contents
InlineForms::SPECIAL_COLUMN_TYPES[:text_field]=:string def text_field_show(object, attribute) link_to_inline_edit object, attribute, object.send(attribute) end def text_field_edit(object, attribute) text_field_tag attribute, object[attribute], :class => 'input_text_field' end def text_field_update(object, attribute) object[attribute.to_sym] = params[attribute.to_sym] end
Version data entries
35 entries across 35 versions & 1 rubygems