</div>
<form action="/motion" method="POST" class="form-inline">
<div class="motion card">
- <div class="motion-title card-heading bg-light from-group">
+ <div class="motion-title card-heading alert-light from-group">
<input class="form-control motion-title-input" placeholder="Motion title" type="text" name="title" id="title">
{%- if categories|length == 1 %}
<input type="text" class="float form-control" maxwidth="10" disabled value="{{categories[0]}}">
</select>
</div>
<div class="card-body">
- <textarea class="form-control" placeholder="Motion content" name="content" rows="8" cols="70"></textarea><br>
+ <textarea class="form-control" placeholder="Motion content" name="content" rows="8"></textarea><br>
Editing note: Markdown is used formatting.<br>
To add a line break add two lines, to enter a link use [text](https//domain.tld/link)<br>
<button class="btn btn-primary" type="submit">Submit Motion</button>
<div class="motion card" id="motion-{{motion.id}}">
<div class="motion-title card-heading
- {%- if motion.running %} bg-light
-{%- elif motion.canceled %} text-white bg-warning
-{%- elif motion.yes is defined %}{% if motion.yes != None and motion.no != None and motion.yes > motion.no %} text-white bg-success{% else %} text-white bg-danger{% endif %}
+ {%- if motion.running %} alert-light
+{%- elif motion.canceled %} alert-warning
+{%- elif motion.yes is defined %}{% if motion.yes != None and motion.no != None and motion.yes > motion.no %} alert-success{% else %} alert-danger{% endif %}
{%- else %} bg-light{%- endif -%}
">
<span class="title-text">{{motion.name}}</span> ({{ 'Running' if motion.running else ('Canceled' if motion.canceled != None else 'Finished') }})