{% extends "commerce/_layouts/store-settings" %} {% block content %}

{{ "States"|t('commerce') }}

{% if states|length %} {% for state in states %} {% endfor %}
{{ 'Name'|t('commerce') }} {{ 'Abbreviation'|t('commerce') }} {{ 'Country'|t('commerce') }}
{{ state.name }} {{ state.abbreviation }} {{ state.country.name }}
{% endif %}
{{ 'New state'|t('commerce') }}
{% endblock %} {% js %} var adminTable = new Craft.AdminTable({ tableSelector: '#states', noObjectsSelector: '#no-states', confirmDeleteMessage: Craft.t('commerce', 'Warning, deleting this state will remove it from all addresses and zones, are you sure you want to delete “{name}”?') , deleteAction: 'commerce/states/delete' }); {% endjs %}