remove forms

This commit is contained in:
Pierre-antoine Comby 2020-03-26 17:45:49 +01:00
parent 757dfdd914
commit 04b39f09af
1 changed files with 4 additions and 7 deletions

View File

@ -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 }}
<button class="btn btn-primary mx-2" type="submit">
{% trans "Add alias" %} {% trans "Add alias" %}
</button> </button>
</form>
</div> </div>
<div class="card bg-light shadow"> <div class="card bg-light shadow">
<div class="card-body"> <div class="card-body">