muizenval

Observe mouse traps remotely
Log | Files | Refs

admin.html (1170B)


      1 {% extends "layout.html" %}
      2 {% block content %}
      3 <article class="media content-section">
      4     <div class="media-body">
      5         <h1>Rechten bewerken!</h1>
      6         <form method="POST" action="">
      7             {{ form.hidden_tag() }}
      8             <fieldset class="form-group">
      9                 <legend class="border-bottom mb-4">Zoeken</legend>
     10                 <div class="form-group">
     11                     {{ form.username.label(class="form-control-label") }}
     12                     {% if form.username.errors %}
     13                     {{ form.username(class="form-control form-control-lg is-invalid") }}
     14                     <div class="invalid-feedback">
     15                         {% for error in form.username.errors %}
     16                         <span>{{ error }}</span>
     17                         {% endfor %}
     18                     </div>
     19                     {% else %}
     20                     {{ form.username(class="form-control form-control-lg") }}
     21                     {% endif %}
     22                 </div>
     23             </fieldset>
     24             <div class="form-group">
     25                 {{ form.submit(class="btn btn-outline-info") }}
     26             </div>
     27     </div>
     28 </article>
     29 {% endblock content %}