]> WPIA git - motion.git/blobdiff - templates/index.html
upd: ensure that no blank information is stored in motion title and
[motion.git] / templates / index.html
index 04bbabe8780b5540e2e6bee80009e92153eb40c5..8f2fb2c00a8834ea5f54d355bc268742feeaca92 100644 (file)
@@ -10,7 +10,7 @@ User: {{g.user}}
 <form action="/motion" method="POST" class="form-inline">
 <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">
+    <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]}}">