<h1>Editing state</h1>

<%= error_messages_for :state %>

<% form_for(@state) do |f| %>
  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

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