1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-02 13:16:54 +00:00
nk20/apps/member/templates/member/club_alias.html

31 lines
962 B
HTML
Raw Normal View History

{% extends "member/base.html" %}
2020-08-25 14:30:02 +00:00
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}
2020-08-22 21:55:22 +00:00
{% load static django_tables2 i18n %}
2020-03-25 17:00:40 +00:00
{% block profile_content %}
2020-08-22 21:55:22 +00:00
<div class="card bg-light">
<h3 class="card-header text-center">
{% trans "Note aliases" %}
</h3>
<div class="card-body">
{% if can_create %}
<form class="input-group" method="POST" id="form_alias">
{% csrf_token %}
<input type="hidden" name="note" value="{{ object.note.pk }}">
<input type="text" name="name" class="form-control">
<div class="input-group-append">
<input type="submit" class="btn btn-success" value="{% trans "Add" %}">
</div>
</form>
{% endif %}
2020-08-22 21:55:22 +00:00
</div>
{% render_table aliases %}
</div>
2020-03-25 17:00:40 +00:00
{% endblock %}
2020-03-26 22:05:08 +00:00
{% block extrajavascript %}
2020-08-22 21:55:22 +00:00
<script src="{% static "member/js/alias.js" %}"></script>
{% endblock%}