nk20/templates/member/alias_update.html

13 lines
434 B
HTML
Raw Normal View History

2020-03-25 17:00:40 +00:00
{% load django_tables2 crispy_forms_tags i18n %}
<div class="d-flex justify-content-center">
2020-03-26 16:45:49 +00:00
<input id="alias_input" type="text" value=""/>
<button id="alias_submit" class="btn btn-primary mx-2" onclick="create_alias( {{ object.note.pk }} )" type="submit">
{% trans "Add alias" %}
</button>
2020-03-25 17:00:40 +00:00
</div>
<div class="card bg-light shadow">
<div class="card-body">
{% render_table aliases %}
</div>
</div>