mirror of https://gitlab.crans.org/bde/nk20
remove forms
This commit is contained in:
parent
757dfdd914
commit
04b39f09af
|
@ -1,12 +1,9 @@
|
||||||
{% load django_tables2 crispy_forms_tags i18n %}
|
{% load django_tables2 crispy_forms_tags i18n %}
|
||||||
<div class="d-flex justify-content-center">
|
<div class="d-flex justify-content-center">
|
||||||
<form class=" text-center form my-2" action="" method="post">
|
<input id="alias_input" type="text" value=""/>
|
||||||
{% csrf_token %}
|
<button id="alias_submit" class="btn btn-primary mx-2" onclick="create_alias( {{ object.note.pk }} )" type="submit">
|
||||||
{{ form |crispy }}
|
{% trans "Add alias" %}
|
||||||
<button class="btn btn-primary mx-2" type="submit">
|
</button>
|
||||||
{% trans "Add alias" %}
|
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="card bg-light shadow">
|
<div class="card bg-light shadow">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
|
Loading…
Reference in New Issue