mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17151] Improve radio input type handling
- allow more than 2 buttons count - allow custom buttons order - allow custom button labels Implemented by allowing JSON data format, backward compatibility preserved. PHPBB3-17151
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
<label>{{ FormsInput(FIRST_BUTTON) ~ FIRST_BUTTON_LABEL }}</label>
|
||||
<label>{{ FormsInput(SECOND_BUTTON) ~ SECOND_BUTTON_LABEL }}</label>
|
||||
{% for button in BUTTONS %}
|
||||
<label>{{ FormsInput(button) ~ button.label }}</label>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user