1 {% extends "base.html" %}
3 <div class="container">
4 {%- if categories|length != 0 %}
6 <div class="card-body">
10 <form action="/motion" method="POST" class="form-inline">
11 <div class="motion card">
12 <div class="motion-title card-heading alert-light from-group">
13 <input class="form-control motion-title-input" placeholder="Motion title" type="text" name="title" id="title" required="yes">
14 {%- if categories|length == 1 %}
15 <input type="text" class="float form-control" maxwidth="10" disabled value="{{categories[0]}}">
16 <input type="hidden" name="category" value="{{categories[0]}}">
18 <select class="float form-control" name="category">
19 {%- for cat in categories %}
20 <option>{{cat}}</option>
24 <select class="float form-control" name="days">
25 {%- for time in times %}
26 <option>{{time}}</option>
30 <div class="card-body">
31 <textarea class="form-control" placeholder="Motion content" name="content" rows="8"></textarea><br>
32 Editing note: Markdown is used formatting.<br>
33 To add a line break add two lines, to enter a link use [text](https//domain.tld/link)<br>
34 <button class="btn btn-primary" type="submit">Submit Motion</button>
41 <a href="/" class="btn btn-primary">Prev</a>
43 <a href="/?start={{ prev }}" class="btn btn-primary">Prev</a>
46 {%- for motion in motions %}
47 {% include 'motion.html' %}
50 <a href="/?start={{ more }}" class="btn btn-primary">Next</a>