1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/17151] Make textarea id optional

PHPBB3-17151
This commit is contained in:
rxu
2024-05-25 11:22:03 +07:00
parent 3597c15100
commit 463848dc08
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{% apply replace({"\n\t": ' ', "\t": '', "\n": ''}) %}
{% apply replace({"\n\t": ' ', "\t": '', "\n": ''}) %}
<input
{% if CLASS %}class="{{ CLASS }}" {% endif %}
{% if ID %}id="{{ ID }}" {% endif %}

View File

@@ -1,4 +1,4 @@
{% apply replace({"\n\t": ' ', "\t": '', "\n": ''}) %}
{% apply replace({"\n\t": ' ', "\t": '', "\n": ''}) %}
<select
{% if CLASS %}class="{{ CLASS }}" {% endif %}
{% if ID %}id="{{ ID }}" {% endif %}

View File

@@ -1,7 +1,7 @@
{% apply replace({"\n": ' ', '\t': ''}) %}
{% apply replace({"\n": ' ', '\t': ''}) %}
<textarea
{% if CLASS %}class="{{ CLASS }}" {% endif %}
id="{{ ID }}"
{% if ID %}id="{{ ID }}" {% endif %}
{% for attribute, attribute_value in DATA %}
data-{{ attribute|e }}="{{ attribute_value|e('html_attr') }}"
{% endfor %}