12345678910111213141516171819 |
- {% load i18n %}
- <div class="col-auto ml-auto">
- <form id="mass-action" action="{{ querystring }}" method="post">
- <div class="dropdown">
- <button type="button" class="btn btn-light btn-sm dropdown-toggle" data-toggle="dropdown">
- <span class="fas fa-check-square"></span>
- </button>
- {% csrf_token %}
- <div class="dropdown-menu dropdown-menu-right">
- {% for action in mass_actions %}
- <button class="dropdown-item" type="submit" name="action" value="{{ action.action }}" {% if action.confirmation %}data-confirmation="{{ action.confirmation }}"{% endif %}>
- <span class="{{ action.icon }}"></span>
- {{ action.name }}
- </button>
- {% endfor %}
- </div>
- </div><!-- /.dropdown -->
- </form>
- </div>
|