Sha256: a3c623f0f8b67047854b8e93ef56df4dec20a10cb811193dac7f722e80c3da5a
Contents?: true
Size: 764 Bytes
Versions: 21
Compression:
Stored size: 764 Bytes
Contents
<h1>Listing fields</h1> <table> <tr> <th>Name</th> <th>Type</th> <th></th> <th></th> <th></th> </tr> <% @fields.each do |field| %> <tr> <td><%= field.name %></td> <td><%= field.type %></td> <td><%= link_to 'Show', dynamic_fieldsets_field_path(field) %></td> <td><%= link_to 'Edit', edit_dynamic_fieldsets_field_path(field) %></td> <td><%= render :partial => "disable_field_form", :locals => { :field => field } %></td> <td> <% if field.in_use? %> <del>Destroy</del> <% else %> <%= button_to 'Destroy', dynamic_fieldsets_field_path(field), :method => :delete %> <% end %> </td> </tr> <% end %> </table> <br /> <%= link_to 'New Field', new_dynamic_fieldsets_field_path %>
Version data entries
21 entries across 21 versions & 1 rubygems