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:
@@ -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 %}
|
||||
|
@@ -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 %}
|
||||
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user