diff --git a/flaskr/controllers/main_controller.py b/flaskr/controllers/main_controller.py
index 1dd7f69..cbee269 100644
--- a/flaskr/controllers/main_controller.py
+++ b/flaskr/controllers/main_controller.py
@@ -174,7 +174,7 @@ def estimate(): # register new estimation request, more accurately
form = EstimateForm()
def show_form():
- return render_template("request-estimation.html", form=form, models=models)
+ return render_template("estimation-request.html", form=form, models=models)
if form.validate_on_submit():
diff --git a/flaskr/templates/estimation-request.html b/flaskr/templates/estimation-request.html
new file mode 100644
index 0000000..3284e4e
--- /dev/null
+++ b/flaskr/templates/estimation-request.html
@@ -0,0 +1,258 @@
+{% extends "base.html" %}
+
+
+{% block title %}Request an estimation of your travel footprint{% endblock %}
+
+
+{% block hero %}
+
+
{{ content.estimate.hero.title | safe }}
+ {{ content.estimate.hero.description | markdown | safe }}
+
+{% endblock %}
+
+
+
+{#############################################################################}
+{# MACROS ####################################################################}
+
+
+{% macro render_field(field) %}
+
+ {{ field.label }}
+ {% if not field.flags.optional %}
+ *
+ {% endif %}
+
+
+ {{ field(title=field.description, class_="form-control", **kwargs) | safe }}
+
+ {% if field.errors -%}
+
+ {% for error in field.errors %}
+ - {{ error }}
+ {% endfor %}
+
+ {%- endif %}
+
+{% endmacro %}
+
+
+{% macro render_checkbox(field) %}
+{{ field(class="form-check-input") }}
+{{ field.label(
+ class="form-check-label",
+ title=field.description
+) }}
+
+{% if field.errors -%}
+{{ field.errors[0] | safe }}
+{%- endif %}
+{% endmacro %}
+
+
+
+{#############################################################################}
+{# BODY ######################################################################}
+
+
+{% block body %}
+
+{% endblock %}
+
+{% block js %}
+
+{% endblock %}
diff --git a/flaskr/templates/request-estimation.html b/flaskr/templates/request-estimation.html
deleted file mode 100644
index 3284e4e..0000000
--- a/flaskr/templates/request-estimation.html
+++ /dev/null
@@ -1,258 +0,0 @@
-{% extends "base.html" %}
-
-
-{% block title %}Request an estimation of your travel footprint{% endblock %}
-
-
-{% block hero %}
-
-
{{ content.estimate.hero.title | safe }}
- {{ content.estimate.hero.description | markdown | safe }}
-
-{% endblock %}
-
-
-
-{#############################################################################}
-{# MACROS ####################################################################}
-
-
-{% macro render_field(field) %}
-
- {{ field.label }}
- {% if not field.flags.optional %}
- *
- {% endif %}
-
-
- {{ field(title=field.description, class_="form-control", **kwargs) | safe }}
-
- {% if field.errors -%}
-
- {% for error in field.errors %}
- - {{ error }}
- {% endfor %}
-
- {%- endif %}
-
-{% endmacro %}
-
-
-{% macro render_checkbox(field) %}
-{{ field(class="form-check-input") }}
-{{ field.label(
- class="form-check-label",
- title=field.description
-) }}
-
-{% if field.errors -%}
-{{ field.errors[0] | safe }}
-{%- endif %}
-{% endmacro %}
-
-
-
-{#############################################################################}
-{# BODY ######################################################################}
-
-
-{% block body %}
-
-{% endblock %}
-
-{% block js %}
-
-{% endblock %}
--
libgit2 0.21.2