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/rules/add.html.jinja | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/hydrilla/proxy/web_ui/templates/rules/add.html.jinja') diff --git a/src/hydrilla/proxy/web_ui/templates/rules/add.html.jinja b/src/hydrilla/proxy/web_ui/templates/rules/add.html.jinja index 3f7e2a7..430c5ca 100644 --- a/src/hydrilla/proxy/web_ui/templates/rules/add.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/rules/add.html.jinja @@ -25,23 +25,15 @@ code in a proprietary work, I am not going to enforce this in court. {% block main %}

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

+ {{ label(_('web_ui.rules.add.pattern_field_label'), 'pattern') }} + {% if rule_pattern_invalid is defined %} {{ error_note(_('web_ui.err.rule_pattern_invalid')) }} {% endif %} - - -
- -
- -
+ {{ form_field('pattern') }} - + {{ label(_('web_ui.rules.add.block_or_allow_label'), 'allow') }}
-- cgit v1.2.3