Sha256: 8712c255ae903a9f3e5bd4cc8607ba155dbc77ce2ea04f543113a17ff1c0b812
Contents?: true
Size: 654 Bytes
Versions: 7
Compression:
Stored size: 654 Bytes
Contents
<%= form_for [: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
7 entries across 7 versions & 1 rubygems