{% extends "members/base.html" %}

{% load i18n %}
{% load bootstrap3 %}

{% block content %}
<div>
    <div>
        <h3>{% trans "Edit application" %}</h3>
    </div>

    <div id="input_form">
        <form name="applicationForm" action="/members/accept_application" method="post" class="form">{% csrf_token %}
            <input type="hidden" name="id" value="{{ application_id }}">
            {% bootstrap_form form %}
            {% buttons %}
            <button type="submit" class="btn btn-primary">
                {% trans "Accept" %}
            </button>
            <a href="/members/delete_application_confirm/{{ application_id }}" class="btn btn-danger">{% trans "Decline" %}</a>
            {% endbuttons %}
        </form>
    </div>
</div>
{% endblock content %}
