Sha256: 927d28e3a8b91e52640ae79d4c8354f327e194e7f1505db4de8a5af9edce20d7

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

<%%= form_for(:<%= plural_table_name %>, :url => path, :method => :put) do |f| %>
    <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
        <%%= f.fields_for "#{<%= singular_table_name %>.id}", <%= singular_table_name %> do |f_<%= singular_table_name %>| %>
          <%%= render 'fields', :f => f_<%= singular_table_name %> %>
        <%% end %>
    <%% end %>
  <div class="actions">
    <%%= f.submit :class => 'button large' %>
  </div>
<%% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leonardo-1.9.0.beta1 lib/generators/erb/leosca/templates/_form_multiple.html.erb