ensl.org/app/views/categories/edit.html.erb

15 lines
347 B
Text
Raw Normal View History

2014-04-27 00:47:53 +00:00
<h1>Editing Category</h1>
2014-04-27 00:47:53 +00:00
<%= form_for @category, html: { class: 'square' } do |f| %>
<%= render 'shared/errors', messages: @category.errors.full_messages %>
2014-04-27 00:47:53 +00:00
<div class="fields horizontal">
<%= f.label :name %>
<%= f.text_field :name %>
2014-04-27 00:47:53 +00:00
</div>
<div class="controls">
<%= f.submit 'Update Category' %>
</div>
<% end %>