Sha256: 023b6dff03d297b4801e36ff8c482bd850694e1db2b30bb0182d30d5e854e56f
Contents?: true
Size: 674 Bytes
Versions: 14
Compression:
Stored size: 674 Bytes
Contents
<%= form_for [resource_url_scope, :admin, resource_instance_variable], :remote => true do |f| %> <div id="errors" style="display: none"></div> <table> <%- resource_attributes.each do |attribute| -%> <tr> <td class="label"><%= f.send :label, attribute[:name] %></td> <%- if attribute[:type] == :boolean -%> <td class="checkbox"><%= f.send :check_box, attribute[:name] -%></td> <%- else -%> <td class="input"><%= f.send :text_field, attribute[:name], :class => 'thin_border long' -%></td> <%- end -%> </tr> <%- end -%> <tr> <td class="submit" colspan="2"> <%= f.button t('save'), :class => 'button' %> </td> </tr> </table> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems