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

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

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

    <div id="input_form">
        <form name="memberForm" action="/members/update_member" method="post" class="form">{% csrf_token %}
            <input type="hidden" name="id" value="{{ member_id }}">
            {% bootstrap_form form %}
            {% buttons %}
            <button type="submit" class="btn btn-primary">
                {% trans "Save" %}
            </button>
            <a href="/members/delete_member_confirm/{{ member_id }}" class="btn btn-danger">{% trans "Delete" %}</a>
            {% endbuttons %}
        </form>
    </div>
</div>
{% endblock content %}
