mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/17151] Make textarea id optional
PHPBB3-17151
This commit is contained in:
parent
3597c15100
commit
463848dc08
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
{% apply replace({"\n\t": ' ', "\t": '', "\n": ''}) %}
|
{% apply replace({"\n\t": ' ', "\t": '', "\n": ''}) %}
|
||||||
<input
|
<input
|
||||||
{% if CLASS %}class="{{ CLASS }}" {% endif %}
|
{% if CLASS %}class="{{ CLASS }}" {% endif %}
|
||||||
{% if ID %}id="{{ ID }}" {% endif %}
|
{% if ID %}id="{{ ID }}" {% endif %}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% apply replace({"\n\t": ' ', "\t": '', "\n": ''}) %}
|
{% apply replace({"\n\t": ' ', "\t": '', "\n": ''}) %}
|
||||||
<select
|
<select
|
||||||
{% if CLASS %}class="{{ CLASS }}" {% endif %}
|
{% if CLASS %}class="{{ CLASS }}" {% endif %}
|
||||||
{% if ID %}id="{{ ID }}" {% endif %}
|
{% if ID %}id="{{ ID }}" {% endif %}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% apply replace({"\n": ' ', '\t': ''}) %}
|
{% apply replace({"\n": ' ', '\t': ''}) %}
|
||||||
<textarea
|
<textarea
|
||||||
{% if CLASS %}class="{{ CLASS }}" {% endif %}
|
{% if CLASS %}class="{{ CLASS }}" {% endif %}
|
||||||
id="{{ ID }}"
|
{% if ID %}id="{{ ID }}" {% endif %}
|
||||||
{% for attribute, attribute_value in DATA %}
|
{% for attribute, attribute_value in DATA %}
|
||||||
data-{{ attribute|e }}="{{ attribute_value|e('html_attr') }}"
|
data-{{ attribute|e }}="{{ attribute_value|e('html_attr') }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue