nk20/templates/member/profile_alias.html

20 lines
679 B
HTML
Raw Normal View History

{% extends "member/profile_detail.html" %}
2020-02-28 12:37:31 +00:00
{% load i18n static pretty_money django_tables2 crispy_forms_tags %}
{% block profile_content %}
2020-02-28 12:37:31 +00:00
<div class="d-flex justify-content-center">
2020-03-01 12:42:22 +00:00
<form class=" text-center form my-2" action="" method="post">
2020-02-28 12:37:31 +00:00
{% csrf_token %}
2020-02-28 15:12:35 +00:00
{{ form |crispy }}
2020-03-01 12:42:22 +00:00
<button class="btn btn-primary mx-2" type="submit">
2020-02-28 12:37:31 +00:00
{% trans "Add alias" %}
</button>
</form>
</div>
<div class="card bg-light shadow">
<div class="card-body">
{% render_table aliases %}
</div>
</div>
{% endblock %}