diff --git a/bacon.toml b/bacon.toml index ced9553..5c11947 100644 --- a/bacon.toml +++ b/bacon.toml @@ -3,4 +3,4 @@ default_job = "clippy" [jobs.clippy] command = ["cargo", "clippy", "-q", "--all-targets", "--color", "always", "--workspace"] need_stdout = false -watch = ["tests", "benches", "examples", "crates"] +watch = ["tests", "benches", "examples", "crates", "templates"] diff --git a/templates/contact_form.askama.html b/templates/contact_form.askama.html index 9e97b7c..82002a8 100644 --- a/templates/contact_form.askama.html +++ b/templates/contact_form.askama.html @@ -41,51 +41,51 @@ {% match custom_field.field_type %} - {% when config::CustomFieldType::Text %} - - {% when config::CustomFieldType::Textarea with { rows } %} - - {% endmatch %} + {% when config::CustomFieldType::Text %} + + {% when config::CustomFieldType::Textarea with { rows } %} + + {% endmatch %} - {% match custom_field.required_feedback %} - {% when Some with (feedback) %} -
{{ feedback }}
- {% when None %} - {% endmatch %} - -{% endfor %} + {% match custom_field.required_feedback %} + {% when Some with (feedback) %} +
{{ feedback }}
+ {% when None %} + {% endmatch %} + + {% endfor %} -
- -
-
- - -
{{ strings.captcha_field.required_feedback }}
-
+
+ +
+
+ + +
{{ strings.captcha_field.required_feedback }}
+
-{% if error_message.len() > 0 %} - -{% endif %} + {% if error_message.len() > 0 %} + + {% endif %} -
- -
- +
+ +
+ {% endblock %} {% block scripts %}