programmeerles-ouderen

Teach programming to seniors
Log | Files | Refs

admin.html (1024B)


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