]> WPIA git - motion.git/blob - templates/index.html
initial commit for motion applicaiton
[motion.git] / templates / index.html
1 {% extends "base.html" %}
2 {% block body %}
3 <div class="container">
4 <form action="/motion" method="POST">
5 <div class="motion panel panel-default">
6   <div class="motion-title panel-heading"><input class="form-control" placeholder="Motion title" type="text" name="title" id="title"></div>
7   <div class="panel-body">
8     <textarea class="form-control" placeholder="Motion content" name="content" rows="8" cols="70"></textarea>
9     <button class="btn btn-primary" type="submit">Submit Motion</button>
10   </div>
11 </div>
12 </form>
13 {% for motion in motions %}
14 {% include 'motion.html' %}
15 {% endfor %}
16 {%- if more %}
17 <a href="/?start={{ more }}">Next</a>
18 {%- endif %}
19 </div>
20 {%- endblock %}