Sha256: ca2c1e5fa6d5139e4e4cf8c5587c388fbb789f306d80d0e5e5dd95d04e56271d
Contents?: true
Size: 566 Bytes
Versions: 4
Compression:
Stored size: 566 Bytes
Contents
<div class="child"> <% for attribute in child_model.attributes -%> <p> <%= child_model.name %> <%%= f.label :<%= attribute.name %> %><br /> <%- if is_auto_complete_attribute? child_model.name.downcase, attribute.name -%> <%%= f.text_field_with_auto_complete :<%= attribute.name %>, {}, { :method => :get, :skip_style => true } %> <%- else -%> <%%= f.<%= attribute.field_type %> :<%= attribute.name %> %> <%- end -%> </p> <% end -%> <p> <%%= f.hidden_field :_delete, :class => 'delete' %> <%%= remove_child_link 'remove', f %> </p> </div>
Version data entries
4 entries across 4 versions & 1 rubygems