summaryrefslogtreecommitdiff
path: root/app/templates/base/form.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/base/form.html')
-rw-r--r--app/templates/base/form.html54
1 files changed, 27 insertions, 27 deletions
diff --git a/app/templates/base/form.html b/app/templates/base/form.html
index 830afbe..440ea0e 100644
--- a/app/templates/base/form.html
+++ b/app/templates/base/form.html
@@ -1,33 +1,33 @@
{% extends 'base/layout.html' %}
{% 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 is-5-tablet is-4-desktop is-3-widescreen">
- <h1 class="title is-2">{% block title %}{% endblock %}</h1>
+<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>
- <!-- TODO: render errors -->
- {% with messages = get_flashed_messages(with_categories=true) %}
- {% if messages %}
- {% for category, message in messages %}
- <div class="notification is-{{ category }}">
- {{ message }}
- </div>
- {% endfor %}
- {% endif %}
- {% endwith %}
+ <!-- TODO: render errors -->
+ {% with messages = get_flashed_messages(with_categories=true) %}
+ {% if messages %}
+ {% for category, message in messages %}
+ <div class="notification is-{{ category }}">
+ {{ message }}
+ </div>
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
- <form method="POST" class="box">
- {{ form.csrf_token }}
- {% block form %}{% endblock %}
- </form>
- </div>
- </div>
- </div>
- </div>
- </section>
- </div>
+ <form method="POST" class="box">
+ {{ form.csrf_token }}
+ {% block form %}{% endblock %}
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+</div>
{% endblock %}