Editing Category

<%= form_for @category, html: { class: 'square' } do |f| %> <%= render 'shared/errors', messages: @category.errors.full_messages %>
<%= f.label :name %> <%= f.text_field :name %>
<%= f.submit 'Update Category' %>
<% end %>