From d82d17044e09705c8c39ae77c03f0cd9ba2a999d Mon Sep 17 00:00:00 2001 From: Jason Fayre Date: Thu, 4 Jul 2024 13:07:19 -0400 Subject: [PATCH] MVC: add aria-label attributes to form input fields template (#7593) * added aria-label attributes to form input field template * MVC: fixed aria-label attributes to add safe --- .../mvc/app/views/layout_partials/form_input_tr.volt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt b/src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt index 6056712de..471ced694 100644 --- a/src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt +++ b/src/opnsense/mvc/app/views/layout_partials/form_input_tr.volt @@ -62,7 +62,7 @@ {% if type == "text" %} - {% elseif type == "checkbox" %} - + {% elseif type in ["select_multiple", "dropdown"] %}
- + {% elseif type == "textbox" %} - + {% elseif type == "info" %} {% endif %}