{% extends "commerce/_layouts/cp" %} {% set crumbs = [ { label: "Store Settings"|t('commerce'), url: url('commerce/store-settings') }, { label: "Countries"|t('commerce'), url: url('commerce/store-settings/countries') }, ] %} {% if breadcrumb is defined and breadcrumb -%} {%- set crumbs = crumbs|merge([breadcrumb]) -%} {% endif -%} {% set selectedSubnavItem = 'store-settings' %} {% set fullPageForm = true %} {% import "_includes/forms" as forms %} {% block details %}
{% if state and state.id %} {% endif %} {% endblock %} {% block content %} {% if state.id %}{% endif %} {{ forms.textField({ first: true, label: "Name"|t('commerce'), instructions: "What this state will be called in the control panel."|t('commerce'), id: 'name', name: 'name', value: state.name, errors: state.getErrors('name'), autofocus: true, required: true }) }} {{ forms.textField({ label: "Abbreviation"|t('commerce'), id: 'abbreviation', name: 'abbreviation', value: state.abbreviation, errors: state.getErrors('abbreviation'), required: true, }) }}