aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja
diff options
context:
space:
mode:
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.jinja24
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>