diff --git a/templates/publisher.html b/templates/publisher.html index 363b40e..e85fec3 100644 --- a/templates/publisher.html +++ b/templates/publisher.html @@ -1,7 +1,6 @@ {% extends "base.html" %} {% block main_content %} -

Publisher

- +

{{page_title}}

{% if message|length %}
{{message}} @@ -9,15 +8,19 @@ {% endif %}
- {{ wtf.form_field( publisher_form.id, form_type='inline' ) }} -
- {{ wtf.form_field( publisher_form.name, form_type='horizontal', horizontal_columns=('xl', 2, 10), style="width:100%" ) }} -
-
-

-
- {{ wtf.form_field( publisher_form.submit, horizontal_columns=('xl', 2, 2), class="btn btn-primary offset-xl-1 col-xl-2" )}} - {{ wtf.form_field( publisher_form.delete, horizontal_columns=('xl', 2, 2), class="btn btn-danger offset-xl-1 col-xl-2" )}} + {{ form.id }} + {{ form.csrf_token }} +
+ {{ form.name.label( class="col-lg-2" ) }} + {{ form.name( class="form-control col-lg-2" ) }} +
+
+
+
+
+ {{ form.delete( class="btn btn-outline-danger col-lg-2" )}} + {{ form.submit( class="btn btn-primary col-lg-2" )}} +