diff --git a/templates/author.html b/templates/author.html index 518702c..6bd696c 100644 --- a/templates/author.html +++ b/templates/author.html @@ -6,37 +6,32 @@ - + + {% import "bootstrap/wtf.html" as wtf %} -

Author

+

Author

+ {% if message|length %}
{{message}}
{% endif %} -
-
- -
- -
- -
-
-
- -
- -
-
-
-
- -
-
+
+ + {{ wtf.form_field( author_form.id, form_type='inline' ) }} +
+ {{ wtf.form_field( author_form.firstnames, form_type='horizontal', horizontal_columns=('xl', 2, 10), style="width:100%" ) }} +
+
+ {{ wtf.form_field( author_form.surname, form_type='horizontal', horizontal_columns=('xl', 2, 10), style="width:100%" ) }} +
+
+

+
+ {{ wtf.form_field( author_form.submit, button_map={'submit':'primary'}, horizontal_columns=('xl', 2, 10), class="btn btn-primary offset-xl-1 col-xl-2" )}}