diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-08-25 10:39:36 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-09 13:55:05 +0200 |
commit | 11a0d8c93a35cc9f00d64bd2e8add03a4368c601 (patch) | |
tree | 99b486d96aa9f9044e044653d862967ffae8d9d3 /src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja | |
parent | 2f2707ff2d19ad8c5aa6f626c65a9c298ff99901 (diff) | |
download | haketilo-hydrilla-11a0d8c93a35cc9f00d64bd2e8add03a4368c601.tar.gz haketilo-hydrilla-11a0d8c93a35cc9f00d64bd2e8add03a4368c601.zip |
[proxy] normalize whitespace in jinja templates
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja')
-rw-r--r-- | src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja b/src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja index 1b618cf..2f491e7 100644 --- a/src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja @@ -26,38 +26,38 @@ in a proprietary work, I am not going to enforce this in court. <form method="POST"> <div> <label for="name_field"> - {{ _('web_ui.repos.add.name_field_label') }} + {{ _('web_ui.repos.add.name_field_label') }} </label> </div> - {% if repo_name_invalid is defined -%} + {% if repo_name_invalid is defined %} <aside class="error-note"> - {{ _('web_ui.err.repo_name_invalid') }} + {{ _('web_ui.err.repo_name_invalid') }} </aside> - {%- endif %} - {% if repo_name_taken is defined -%} + {% endif %} + {% if repo_name_taken is defined %} <aside class="error-note"> - {{ _('web_ui.err.repo_name_taken') }} + {{ _('web_ui.err.repo_name_taken') }} </aside> - {%- endif %} + {% endif %} <div> <input id="name_field" name="name" required=""> </div> <div> <label for="url_field"> - {{ _('web_ui.repos.add.url_field_label') }} + {{ _('web_ui.repos.add.url_field_label') }} </label> </div> - {% if repo_url_invalid is defined -%} + {% if repo_url_invalid is defined %} <aside class="error-note"> - {{ _('web_ui.err.repo_url_invalid') }} + {{ _('web_ui.err.repo_url_invalid') }} </aside> - {%- endif %} + {% endif %} <div> <input id="url_field" name="url" required=""> </div> <div> <button class="green-button"> - {{ _('web_ui.repos.add.submit_button') }} + {{ _('web_ui.repos.add.submit_button') }} </button> </div> </form> |