{% load i18n %}

<form action="{% url 'dashboard:customer-promote' pk=customer.pk %}" method="post" novalidate>
  {% csrf_token %}
  <div class="modal-content">
    <div class="row">
      <div class="col s12">
        <h5>
          {% trans "Promote to staff member" context "Dashboard confirmation modal" %}
        </h5>
      </div>
    </div>
    {% trans "Are you sure?" context "Dashboard confirmation modal" %}
  </div>
  <div class="modal-footer">
    <a href="#!" class="modal-action modal-close btn-flat waves-effect">
      {% trans "Cancel" context "Dashboard cancel action" %}
    </a>
    <button type="submit" class="modal-action btn-flat waves-effect">
      {% trans "Promote" context "Dashboard promote action" %}
    </button>
  </div>
</form>

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

{% load i18n %}

{% block action_url %}
{% url 'dashboard:customer-promote' pk=customer.pk %}
{% endblock %}

{% block title %}
{% trans "Promote to staff member" context "Modal promote to staff member title" %}
{% endblock %}

{% block content %}
<div class="col">
  {% trans "Are you sure?" context "Modal promote to staff member text" %}
</div>
{% endblock %}

{% block primary_action %}
{% trans "Promote" context "Modal promote to staff member primary action" %}
{% endblock %}

Use base modal in customer modal templates
Use base modal in customer modal templates
