2013-01-06 12:07:37 +01:00
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
|
|
{% load tags %}
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
2013-03-17 17:16:37 +01:00
|
|
|
|
{% load staticfiles %}
|
|
|
|
|
|
|
|
|
|
{% block header %}
|
2013-05-28 20:31:01 +02:00
|
|
|
|
<link type="text/css" rel="stylesheet" media="all" href="{% static 'styles/motion.css' %}" />
|
2013-03-17 17:16:37 +01:00
|
|
|
|
<link type="text/css" rel="stylesheet" media="all" href="{% static 'styles/ckeditor.css' %}" />
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block javascript %}
|
2013-04-15 21:12:29 +02:00
|
|
|
|
<script type="text/javascript" src="{% static 'javascript/ckeditor/ckeditor.js' %}"></script>
|
|
|
|
|
<script type="text/javascript" src="{% static 'javascript/ckeditor-config.js' %}"></script>
|
2013-03-17 17:16:37 +01:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2013-03-09 14:29:40 +01:00
|
|
|
|
{% block title %}
|
|
|
|
|
{% if motion %}
|
|
|
|
|
{% trans "Edit motion" %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% trans "New motion" %}
|
|
|
|
|
{% endif %}
|
2013-06-14 20:24:48 +02:00
|
|
|
|
– {{ block.super }}
|
2013-03-09 14:29:40 +01:00
|
|
|
|
{% endblock %}
|
2013-01-06 12:07:37 +01:00
|
|
|
|
|
|
|
|
|
{% block content %}
|
2013-03-09 14:29:40 +01:00
|
|
|
|
<h1>
|
|
|
|
|
{% if motion %}
|
|
|
|
|
{% trans "Edit motion" %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% trans "New motion" %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
<small class="pull-right">
|
2013-04-22 19:59:05 +02:00
|
|
|
|
{% if motion %}
|
|
|
|
|
<a href="{% model_url motion 'view' %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to motion" %}</a>
|
|
|
|
|
{% else %}
|
|
|
|
|
<a href="{% url 'motion_list' %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
|
|
|
|
|
{% endif %}
|
2013-03-09 14:29:40 +01:00
|
|
|
|
</small>
|
|
|
|
|
</h1>
|
2013-01-06 12:07:37 +01:00
|
|
|
|
<form action="" method="post">{% csrf_token %}
|
2013-03-09 14:29:40 +01:00
|
|
|
|
{% include "form.html" %}
|
|
|
|
|
<p>
|
|
|
|
|
{% include "formbuttons_saveapply.html" %}
|
|
|
|
|
<a href='{% url 'motion_list' %}' class="btn">
|
|
|
|
|
{% trans 'Cancel' %}
|
2013-01-06 12:07:37 +01:00
|
|
|
|
</a>
|
2013-03-09 14:29:40 +01:00
|
|
|
|
</p>
|
2013-01-06 12:07:37 +01:00
|
|
|
|
<small>* {% trans "required" %}</small>
|
|
|
|
|
</form>
|
|
|
|
|
{% endblock %}
|