1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/17151] Adjust form macros to adhere to coding guidelines

PHPBB3-17151
This commit is contained in:
Marc Alexander
2023-06-25 16:23:56 +02:00
parent 51d27979ce
commit d6e3daf291
4 changed files with 21 additions and 17 deletions

View File

@@ -1,9 +1,10 @@
{% apply replace({"\n": ' ', '\t': ''}) %}
<textarea
{% if CLASS %}class="{{ CLASS }}" {% endif %}
id="{{ ID }}"
{% for attribute, attribute_value in DATA %}
data-{{ attribute|e }}="{{ attribute_value|e('html_attr') }}"
{% endfor %}
name="{{ NAME }}"
rows="{{ ROWS }}"
cols="{{ COLS }}">
{{ CONTENT }}
</textarea>
{% endapply %}
cols="{{ COLS }}">{% endapply %}{{ CONTENT }}</textarea>