{% extends "admin/base_site.html" %} {% load i18n admin_urls static %} {% block title %}{{ title }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

{{ title }}

Selected Accounts

Number of accounts selected: {{ queryset|length }}

    {% for account in queryset %}
  • {{ account.user.email }} {% if account.user.first_name or account.user.last_name %} ({{ account.user.first_name }} {{ account.user.last_name }}) {% endif %} - Current balance: {{ account.get_balance }} credits
  • {% endfor %}
{% csrf_token %} {% for account in queryset %} {% endfor %}

{{ action_type }} Credits

{% if form.errors %}

Please correct the error{{ form.errors|pluralize }} below.

{{ form.errors }}
{% endif %}
{{ form.amount.label_tag }} {{ form.amount }} {% if form.amount.help_text %}

{{ form.amount.help_text }}

{% endif %} {% if form.amount.errors %}
    {% for error in form.amount.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{{ form.reason.label_tag }} {{ form.reason }} {% if form.reason.help_text %}

{{ form.reason.help_text }}

{% endif %} {% if form.reason.errors %}
    {% for error in form.reason.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}

ℹ️ This will add the specified amount of credits to all {{ queryset|length }} selected accounts.

Cancel
{% endblock %}