+ <div class="motion-title panel-heading 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]}}">
+ <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">
+ {%- for time in times %}
+ <option>{{time}}</option>
+ {%- endfor %}
+ </select>
+ </div>