Start to reorganize views a little.
[audio.git] / src / archive / templates / archive / file_new.html
1 {% extends "archive/base.html" %}
2 {% load i18n tags bootstrap4 %}
3
4
5 {% block menu-active-new %}active{% endblock %}
6
7
8 {% block content %}
9
10 <div class="card mt-4">
11   <div class="card-header">
12     <h1>{{ filename }}</h1>
13   </div>
14   <div class="card-body">
15     <form method="post" action="{% url 'move_to_archive' filename %}">
16       {% csrf_token %}
17       <input class="btn btn-danger" type="submit" value="{% trans "Move to archive" %}" />
18     </form>
19
20     <hr>
21
22     {% multiple_tags_table tags %}
23
24     <hr>
25
26     <form method='post' action='.'>
27       {% csrf_token %}
28       {% bootstrap_form form %}
29       <input class="btn btn-primary" type="submit" value='{% trans "Commit" %}' />
30     </form>
31   </div>
32 </div>
33
34
35 {% endblock %}