mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +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
|
||||
{% 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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue