Sha256: d41dedbcfeca43403792b368e38c2f43d9cd81307a8927df0f1da73085503893
Contents?: true
Size: 502 Bytes
Versions: 24
Compression:
Stored size: 502 Bytes
Contents
<h1><%= @category.new_record? ? 'New' : 'Editing' %> category</h1> <% form_for([:admin, @category]) do |f| %> <%= f.error_messages %> <p> <%= f.label :title %><br /> <%= f.text_field :title %> </p> <p> <%= f.label :description %><br /> <%= f.text_area :description, :rows => 3 %> </p> <p class="submission"> <%= f.submit @category.new_record? ? 'Create' : 'Update', :disable_with => 'Submitting...' %> or <%= link_to 'Back', admin_categories_path %> </p> <% end %>
Version data entries
24 entries across 24 versions & 1 rubygems