Sha256: dd48a24e93bff699a0ce6cfc0ac61ec404d63d5be5616a77e9b737a85241fd22
Contents?: true
Size: 780 Bytes
Versions: 38
Compression:
Stored size: 780 Bytes
Contents
<%= fields_for "form[fields][#{index}]", field do |f| %> <tr> <td><%= f.hidden_field :_type %><%= f.label :name, 'Name *' %><%= f.text_field :name %></td> <td>Check box</td> <td><%= f.label :label, 'Label' %><%= f.text_field :label %></td> <td><%= f.label :default, 'Default State' %><%= f.check_box :default %></td> <td class="center">-</td> <td class="center">-</td> <td class="center">-</td> <td width="25" class="up"><a class="page_up" title="Move this field up">up</a></td> <td width="30" class="down"><a class="page_down" title="Move this field down">down</a></td> <td><%= link_to_function 'Delete', 'return delete_form_field(this);', :class => 'delete' %></td> </tr> <% end %>
Version data entries
38 entries across 38 versions & 1 rubygems