mirror of
https://github.com/phpbb/phpbb.git
synced 2025-09-02 12:53:37 +02:00
[ticket/17100] Use twig functions for form elements
PHPBB3-17100
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
{% import 'macros/form_macros.twig' as form_macros %}
|
||||
<form id="acp_board" method="post" action="{U_ACTION}">
|
||||
|
||||
<!-- BEGIN options -->
|
||||
@@ -30,7 +29,7 @@
|
||||
<dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
||||
<dd>
|
||||
{% if options.CONTENT is iterable %}
|
||||
{{ form_macros.build_template(options.CONTENT)}}
|
||||
{{ FormsBuildTemplate(options.CONTENT)}}
|
||||
{% else %}
|
||||
{{ options.CONTENT }}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user