{% load i18n %}
{% load bootstrap %}

<div class="pinax-invitations-invites-form">
    {% if user.invitationstat.can_send %}
        <form action="{% url "pinax-invitations-invite" %}"
              class="ajax"
              data-replace-closest=".pinax-invitations-invites-form"
              method="POST"
              accept-charset="utf-8">
            {% csrf_token %}
            {{ form|bootstrap }}
            <div class="form-actions">
                <button>
                    {% trans "Invite" %}
                </button>
            </div>
        </form>
    {% else %}
        <p>
            {% trans "You do not have any invitations currrently." %}
        </p>
    {% endif %}
</div>
