1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/17151] Refactor radio buttons output logic

PHPBB3-17151
This commit is contained in:
rxu
2023-09-23 23:14:32 +07:00
parent 830c1f3dc3
commit 9401a59cfc
9 changed files with 214 additions and 370 deletions

View File

@@ -14,5 +14,6 @@
{% if STEP %}step="{{ STEP }}" {% endif %}
{% if TYPE == 'password' %}autocomplete="off" {% endif %}
{% if CHECKED %}checked="checked" {% endif %}
{% if DISABLED %}disabled="disabled" {% endif %}
value="{{ VALUE }}">
{% endapply %}

View File

@@ -1,3 +1,3 @@
{% for button in BUTTONS %}
<label>{{ FormsInput(button) ~ button.label }}</label>
<label>{{ FormsInput(button) ~ ' ' ~ button.label }}</label>
{% endfor %}