summaryrefslogtreecommitdiffstats
path: root/combo/apps/lingo/templates/lingo/regie_form.html
blob: 1788859e3bdb3bf112ff8ff8e23b610acd800dc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "lingo/regie_list.html" %}
{% load i18n %}

{% block appbar %}
{% if object.id %}
<h2>{% trans "Edit Regie" %}</h2>
{% else %}
<h2>{% trans "New Regie" %}</h2>
{% endif %}
{% endblock %}

{% block content %}

<form method="post" enctype="multipart/form-data">
  {% csrf_token %}
  {{ form.as_p }}
  <div class="buttons">
    <button class="submit-button">{% trans "Save" %}</button>
    <a class="cancel" href="{% url 'lingo-manager-homepage' %}">{% trans 'Cancel' %}</a>
  </div>
</form>
{% endblock %}