= render partial: 'spree/admin/shared/configuration_menu'

- content_for :page_title do
  = t("spree.editing_state")
  %i.icon-arrow-right
  = @state.name

- content_for :page_actions do
  %li
    = button_link_to t("spree.back_to_states_list"), spree.admin_country_states_url(@country), icon: 'icon-arrow-left'

= render partial: 'spree/shared/error_messages', locals: { target: @state }
= form_for [:admin, @country, @state] do |f|
  %fieldset.no-border-top
    = render partial: 'form', locals: { f: f }
    = render partial: 'spree/admin/shared/edit_resource_links'
