2012-09-05 00:20:28 +02:00
|
|
|
|
{% extends "base.html" %}
|
2012-02-09 16:57:10 +01:00
|
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
2012-07-13 00:44:12 +02:00
|
|
|
|
{% block title %}
|
2012-07-16 14:00:29 +02:00
|
|
|
|
{{ block.super }} –
|
2012-07-13 00:44:12 +02:00
|
|
|
|
{% if item %}
|
|
|
|
|
{{ item.title }} – {% trans "Edit item" %}
|
2012-07-13 01:10:58 +02:00
|
|
|
|
{% else %}
|
2012-07-13 00:44:12 +02:00
|
|
|
|
{% trans "New item" %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
|
|
|
|
|
{% block content %}
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<h1>
|
2012-09-06 23:59:03 +02:00
|
|
|
|
{% if item %}
|
|
|
|
|
{% trans "Edit item" %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% trans "New item" %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
<small class="pull-right">
|
2013-01-05 15:29:57 +01:00
|
|
|
|
<a href="{% url 'item_overview' %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
|
2012-09-06 23:59:03 +02:00
|
|
|
|
</small>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
</h1>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
<form action="" method="post">{% csrf_token %}
|
2013-01-31 10:19:56 +01:00
|
|
|
|
{% include "form.html" %}
|
|
|
|
|
<p>
|
|
|
|
|
{% include "formbuttons_saveapply.html" %}
|
|
|
|
|
<a href='{% url 'item_overview' %}' class="btn">
|
|
|
|
|
{% trans 'Cancel' %}
|
|
|
|
|
</a>
|
|
|
|
|
</p>
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<small>* {% trans "required" %}</small>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</form>
|
|
|
|
|
{% endblock %}
|