]> WPIA git - motion.git/commitdiff
add: Back link and better styled cancel-subform
authorFelix Dörre <felix@dogcraft.de>
Sun, 19 Nov 2017 10:18:56 +0000 (11:18 +0100)
committerFelix Dörre <felix@dogcraft.de>
Sun, 19 Nov 2017 10:18:56 +0000 (11:18 +0100)
templates/single_motion.html

index edffcc32c4e697e57f9af7ce0024a0f860c2b262..7fd1e25a98d63d06da17ad438647f619150762b7 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" 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}}">Back</a>
 {%- endblock %}