Editing state

<%= error_messages_for :state %> <% form_for(@state) do |f| %>

<%= f.submit "Update" %>

<% end %> <%= link_to 'Show', @state %> | <%= link_to 'Back', states_path %>