🚧 switch to bootstrap-flask / bootstrap 4

This commit is contained in:
neingeist 2021-12-04 03:16:19 +01:00
parent e5f00752fe
commit 0a14e4645d
5 changed files with 10 additions and 8 deletions

View file

@ -20,7 +20,7 @@
{% block app_content %}
<div class="row">
<div class="col col-xs-12 col-sm-6 col-md-4">
<div class='well'>
<div class='card card-body bg-light'>
<form class="form" method="post" role="form" novalidate>
@ -29,7 +29,7 @@
{{ wtf.form_errors(form, hiddens="only") }}
<div class="form-group required {% if form.start_time.errors %}has-error{% endif -%}">
{{ form.start_time.label(class_="control-label") }}
{{ form.start_time.label(class_="form-control-label") }}
<div class='input-group' id='start_time_group' data-target-input="nearest">
<input name='start_time' id='start_time_' class="form-control datetimepicker-input"
type="text" data-target="#start_time_group"
@ -48,7 +48,7 @@
</div>
<div class="form-group required {% if form.length.errors %}has-error{% endif -%}">
{{ form.length.label(class_="control-label") }}
{{ form.length.label(class_="form-control-label") }}
{{ form.length(class_="form-control") }}
{% for error in form.length.errors %}
<p class="help-block">{{ error }}</p>