Sha256: 5036bba522fc2c06053a8ad7d1f1bf8ab8544a4eed86e47cf49093d2fbc96718

Contents?: true

Size: 514 Bytes

Versions: 28

Compression:

Stored size: 514 Bytes

Contents

<h1><%= @category.new_record? ? 'New' : 'Editing a' %> Category</h1>

<% form_for([:admin, @category]) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :title, '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

28 entries across 28 versions & 1 rubygems

Version Path
beef-articles-0.3.29 app/views/admin/categories/show.html.erb
beef-articles-0.3.30 app/views/admin/categories/show.html.erb
beef-articles-0.3.32 app/views/admin/categories/show.html.erb
beef-articles-0.3.33 app/views/admin/categories/show.html.erb
beef-articles-0.3.34 app/views/admin/categories/show.html.erb
beef-articles-0.5.3 app/views/admin/categories/show.html.erb
beef-articles-0.5.2 app/views/admin/categories/show.html.erb
beef-articles-0.5.1 app/views/admin/categories/show.html.erb
beef-articles-0.4.18 app/views/admin/categories/show.html.erb
beef-articles-0.4.17 app/views/admin/categories/show.html.erb
beef-articles-0.4.16 app/views/admin/categories/show.html.erb
beef-articles-0.4.15 app/views/admin/categories/show.html.erb
beef-articles-0.4.14 app/views/admin/categories/show.html.erb
beef-articles-0.4.13 app/views/admin/categories/show.html.erb
beef-articles-0.4.12 app/views/admin/categories/show.html.erb
beef-articles-0.4.11 app/views/admin/categories/show.html.erb
beef-articles-0.4.10 app/views/admin/categories/show.html.erb
beef-articles-0.4.9 app/views/admin/categories/show.html.erb
beef-articles-0.4.8 app/views/admin/categories/show.html.erb
beef-articles-0.4.7 app/views/admin/categories/show.html.erb