-<div class="motion panel panel-default">
- <div class="motion-title panel-heading from-group">
- <input class="form-control" placeholder="Motion title" type="text" name="title" id="title">
- <select class="form-control" name="days">
+<div class="motion card">
+ <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" required="yes">
+ {%- if categories|length == 1 %}
+ <input type="text" class="float form-control" maxwidth="10" disabled value="{{categories[0]}}">
+ <input type="hidden" name="category" value="{{categories[0]}}">
+ {%- else %}
+ <select class="float form-control" name="category">
+ {%- for cat in categories %}
+ <option>{{cat}}</option>
+ {%- endfor %}
+ </select>
+ {%- endif %}
+ <select class="float form-control" name="days">