{% load i18n %}

<form action="{% url "dashboard:product-attribute-delete" pk=attribute.pk %}" method="post" novalidate>
  {% csrf_token %}
  <div class="modal-content">
    <h5>
      {% trans "Are you sure?" context "Dashboard confirmation modal" %}
    </h5>
    <p>
      {% blocktrans trimmed context "Modal delete attribute text" %}
        You are about to delete an attribute <strong>{{ attribute }}</strong>.
      {% endblocktrans %}
    </p>
  </div>
  <div class="modal-footer">
    <button type="submit" class="modal-action btn-flat">
      {% trans "Delete" context "Dashboard delete action" %}
    </button>
    <a href="#!" class="modal-action modal-close btn-flat">
      {% trans "Cancel" context "Dashboard cancel action" %}
    </a>
  </div>
</form>

{% extends "dashboard/modal_confirm_delete.html" %}

{% load i18n %}

{% block action_url %}
{% url "dashboard:product-attribute-delete" pk=attribute.pk %}
{% endblock %}

{% block content %}
<p>
{% blocktrans trimmed context "Modal delete attribute text" %}
You are about to delete an attribute <strong>{{ attribute }}</strong>.
{% endblocktrans %}
</p>
{% endblock content %}

Use common delete confirmation for attribute deletion
Use common delete confirmation for attribute deletion
