Append missing files
This commit is contained in:
parent
bc7be27131
commit
f411040c3a
33
openslides/motion/templates/motion/category_form.html
Normal file
33
openslides/motion/templates/motion/category_form.html
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% load tags %}
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
{{ block.super }} –
|
||||||
|
{% if motion %}
|
||||||
|
{% trans "Edit category" %}
|
||||||
|
{% else %}
|
||||||
|
{% trans "New category" %}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h1>
|
||||||
|
{% if motion %}
|
||||||
|
{% trans "Edit category" %}
|
||||||
|
{% else %}
|
||||||
|
{% trans "New category" %}
|
||||||
|
{% endif %}
|
||||||
|
</h1>
|
||||||
|
<form action="" method="post">{% csrf_token %}
|
||||||
|
{% include "form.html" %}
|
||||||
|
<p>
|
||||||
|
{% include "formbuttons_saveapply.html" %}
|
||||||
|
<a href='{% url 'motion_list' %}' class="btn">
|
||||||
|
{% trans 'Cancel' %}
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<small>* {% trans "required" %}</small>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
16
openslides/motion/templates/motion/category_list.html
Normal file
16
openslides/motion/templates/motion/category_list.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% load tags %}
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block title %}{{ block.super }} – {% trans "Motions" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h1>{% trans "Categories" %}</h1>
|
||||||
|
{% for category in category_list %}
|
||||||
|
<p><a href="{% model_url category 'update' %}">{{ category }}</a></p>
|
||||||
|
{% empty %}
|
||||||
|
<p>No Categories</p>
|
||||||
|
{% endfor %}
|
||||||
|
</table>
|
||||||
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user