diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-06 00:26:15 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-06 00:26:15 -0500 |
| commit | ebaea9701e286fabeb9418c118498f77da15441b (patch) | |
| tree | a48f5ab3f4c463b3d60d3e748c89e07c6692bf91 /app/templates/base/form.html | |
| parent | fc34ba9c7ff1e20c48141d6d147a7b76179172c5 (diff) | |
| download | Strengthy-ebaea9701e286fabeb9418c118498f77da15441b.tar.xz Strengthy-ebaea9701e286fabeb9418c118498f77da15441b.zip | |
Add new image background and index page
Diffstat (limited to 'app/templates/base/form.html')
| -rw-r--r-- | app/templates/base/form.html | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/app/templates/base/form.html b/app/templates/base/form.html index 8423a0c..22f926b 100644 --- a/app/templates/base/form.html +++ b/app/templates/base/form.html @@ -2,17 +2,17 @@ {% block content %} <div class="form"> - <section class="hero is-primary is-fullheight-with-navbar"> - <div class="hero-body"> - <div class="container"> - <div class="columns is-centered"> - <div class="column {{ column_classes }}"> - <h1 class="title is-2">{% block title %}{% endblock %}</h1> + <section class="hero is-primary is-fullheight-with-navbar gym-background"> + <div class="hero-body"> + <div class="container"> + <div class="columns is-centered"> + <div class="column {{ column_classes }}"> + <h1 class="title is-2">{% block title %}{% endblock %}</h1> - <!-- TODO: render errors --> - {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} + <!-- TODO: render errors --> + {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} + {% for category, message in messages %} {% if category == "message" %} <div class="notification is-info"> {% else %} @@ -20,18 +20,18 @@ {% endif %} {{ message }} </div> - {% endfor %} - {% endif %} - {% endwith %} + {% endfor %} + {% endif %} + {% endwith %} - <form method="POST" class="box"> - {{ form.csrf_token }} - {% block form %}{% endblock %} - </form> - </div> - </div> - </div> - </div> - </section> + <form method="POST" class="box"> + {{ form.csrf_token }} + {% block form %}{% endblock %} + </form> + </div> + </div> + </div> + </div> + </section> </div> {% endblock %} |
