diff --git a/templates/get_ebook.html b/templates/get_ebook.html new file mode 100644 index 0000000..aba7ad3 --- /dev/null +++ b/templates/get_ebook.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% block main_content %} +
+

{{page_title}}

+
+
+ {% for field in form %} + {% if field.type == 'HiddenField' or field.type == 'CSRFTokenField' %} + {{field}} + {% elif field.type != 'SubmitField' %} +
+ {{ field.label( class="input-group-text col-2 justify-content-end" ) }} + {% if field.type == 'SelectField' %} + {{ field( class="form-select col-9" ) }} + {% else %} + {{ field( class="form-control col-9" ) }} + {% endif %} +
+ {% endif %} + {% endfor %} +
+ {{form.submit(class="btn btn-primary offset-2 col-2 mt-4" )}} +
+
+
+ +{% endblock main_content %}