1 {% extends "base.html" %}
3 Motion: {{motion.name}}
6 {%- include 'motion.html' %}
7 {%- if motion.running %}
9 <form action="/motion/{{motion.id}}/vote" method="POST">
10 {%- for vote in ['yes','no','abstain'] %}
11 <button type="submit" class="btn btn-{{ 'success' if vote == motion.result else 'primary' }}" name="vote" value="{{vote}}" id="vote-{{vote}}">{{vote}}</button>
16 <form action="/motion/{{motion.id}}/cancel" method="POST">
17 <input type="text" name="reason" required="yes">
18 <button type="submit">Cancel</button>