mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
21 lines
No EOL
386 B
Text
21 lines
No EOL
386 B
Text
<h1>Editing category</h1>
|
|
|
|
<%= form_for @category do |f| %>
|
|
<div id="error_explanation">
|
|
<ul>
|
|
<% @category.errors.full_messages.each do |msg| %>
|
|
<li><%= msg %></li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
|
|
<p>
|
|
<%= f.label :name %><br />
|
|
<%= f.text_field :name %>
|
|
</p>
|
|
<p>
|
|
<%= f.submit 'Update' %>
|
|
</p>
|
|
<% end %>
|
|
|
|
<%= link_to 'Back', categories_path %> |