]> WPIA git - motion.git/blobdiff - templates/single_motion.html
chg: Prev/Next/Back-links as bootstrap-buttons
[motion.git] / templates / single_motion.html
index edffcc32c4e697e57f9af7ce0024a0f860c2b262..ac4ff79148bc4ef86292b5040f1611cbda0c8a75 100644 (file)
@@ -13,10 +13,11 @@ Motion: {{motion.name}}
 </form>
 {%- endif %}
 {%- if may_cancel %}
-<form action="/motion/{{motion.id}}/cancel" method="POST">
-<input type="text" name="reason" required="yes">
-<button type="submit">Cancel</button>
+<form action="/motion/{{motion.id}}/cancel" method="POST" class="form-inline">
+<input type="text" placeholder="cancelation reason" name="reason" class="form-control" required="yes">
+<button type="submit" class="btn btn-danger">Cancel</button>
 </form>
 {%- endif %}
 {%- endif %}
+<a href="/?start={{motion.id}}#motion-{{motion.id}}" class="btn btn-primary">Back</a>
 {%- endblock %}