]> WPIA git - motion.git/blobdiff - templates/single_motion.html
add: cancel running motion (with comment)
[motion.git] / templates / single_motion.html
index 1078343cb72198a4cb8bfb783cbce51b797d5068..cf5c94e0ea2e9a8b4dc4593400c697b284bb83cd 100644 (file)
@@ -10,5 +10,9 @@ Motion: {{motion.name}}
 <button type="submit" class="btn btn-{{ 'success' if vote == motion.result else 'primary' }}" name="vote" value="{{vote}}" id="vote-{{vote}}">{{vote}}</button>
 {%- endfor %}
 </form>
+<form action="/motion/{{motion.id}}/cancel" method="POST">
+<input type="text" name="reason" required="yes">
+<button type="submit">Cancel</button>
+</form>
 {%- endif %}
 {%- endblock %}