Sha256: 7a6ae2c74178c5a28019a955efa236de8827d62bc8eff3d486cc60fec1cedf90
Contents?: true
Size: 770 Bytes
Versions: 13
Compression:
Stored size: 770 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.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
13 entries across 13 versions & 1 rubygems