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