Sha256: 418a0e26f67e239e3c3ad09e4ab055f4a3a8f191de5edd32b1d7456131547a04
Contents?: true
Size: 662 Bytes
Versions: 7
Compression:
Stored size: 662 Bytes
Contents
<%%= form_for <%= item_path :instance_variable => true %> do |f| %> <%%= f.error_messages %> <%- for attribute in model_attributes -%> <p> <%%= f.label :<%= attribute.name %> %> <% if attribute.type.to_s == 'string' %> <span class="limit_input"> ??/<%%= <%= class_name %>.columns_hash[ '<%= attribute.name %>' ].limit %> </span> <% end %><br /> <%%= f.<%= attribute.field_type %> :<%= attribute.name %><% if attribute.type.to_s == 'string' %>, :maxlength => <%= class_name %>.columns_hash[ '<%= attribute.name %>' ].limit.to_s <% end %> %> </p> <%- end -%> <p><%%= f.submit %></p> <%% end %> <%%= javascript_include_tag 'edition_mod.js' %>
Version data entries
7 entries across 7 versions & 1 rubygems