mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
14 lines
347 B
Text
14 lines
347 B
Text
<h1>Editing Category</h1>
|
|
|
|
<%= form_for @category, html: { class: 'square' } do |f| %>
|
|
<%= render 'shared/errors', messages: @category.errors.full_messages %>
|
|
|
|
<div class="fields horizontal">
|
|
<%= f.label :name %>
|
|
<%= f.text_field :name %>
|
|
</div>
|
|
|
|
<div class="controls">
|
|
<%= f.submit 'Update Category' %>
|
|
</div>
|
|
<% end %>
|