2016-04-20 01:01:14 +00:00
|
|
|
{% extends "core/base.jinja" %}
|
|
|
|
|
2016-08-11 02:24:32 +00:00
|
|
|
{% block title %}
|
2024-07-23 22:16:31 +00:00
|
|
|
{% if object %}
|
|
|
|
{% trans obj=object %}Edit {{ obj }}{% endtrans %}
|
|
|
|
{% else %}
|
|
|
|
{% trans %}Save{% endtrans %}
|
|
|
|
{% endif %}
|
2016-08-11 02:24:32 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2016-04-20 01:01:14 +00:00
|
|
|
{% block content %}
|
2024-07-23 22:16:31 +00:00
|
|
|
{% if object %}
|
|
|
|
<h2>{% trans obj=object %}Edit {{ obj }}{% endtrans %}</h2>
|
|
|
|
{% else %}
|
|
|
|
<h2>{% trans %}Save{% endtrans %}</h2>
|
|
|
|
{% endif %}
|
|
|
|
<form action="" method="post" enctype="multipart/form-data">
|
2016-07-19 17:03:16 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
{{ form.as_p() }}
|
|
|
|
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
|
2024-07-23 22:16:31 +00:00
|
|
|
</form>
|
2016-04-20 01:01:14 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
|