From b0fcc865599cfdc87e2ca8a637df8f5b336bb459 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 29 Sep 2022 10:43:45 +0200 Subject: [proxy] make uniform use of section labels in the web UI --- src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja') 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 be4933a..f635444 100644 --- a/src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja @@ -25,7 +25,7 @@ code in a proprietary work, I am not going to enforce this in court. {% block main %}

{{ _('web_ui.repos.add.heading') }}

- {{ form_label(_('web_ui.repos.add.name_field_label'), 'name') }} + {{ label(_('web_ui.repos.add.name_field_label'), 'name') }} {% if repo_name_invalid is defined %} {{ error_note(_('web_ui.err.repo_name_invalid')) }} {% endif %} @@ -34,7 +34,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endif %} {{ form_field('name') }} - {{ form_label(_('web_ui.repos.add.url_field_label'), 'url') }} + {{ label(_('web_ui.repos.add.url_field_label'), 'url') }} {% if repo_url_invalid is defined %} {{ error_note(_('web_ui.err.repo_url_invalid')) }} {% endif %} -- cgit v1.2.3