Sha256: 43bd62fcfc6fd6bf2368cfc979fe99311b44e07fecb558dcd89b46fae1086d4e

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 Bytes

Contents

<h1><%= @category.new_record? ? 'New' : 'Editing a' %> 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

2 entries across 2 versions & 1 rubygems

Version Path
beef-articles-0.3.27 app/views/admin/categories/show.html.erb
beef-articles-0.3.28 app/views/admin/categories/show.html.erb