Suite à MAJ 2.3.4, il manquait des choses dans des templates

This commit is contained in:
2020-05-03 09:13:06 +02:00
parent 35a800ca0e
commit 3f71343401
212 changed files with 1396 additions and 7451 deletions

View File

@@ -12,9 +12,7 @@ fragment uses the following additional variables :
*}
{* Get standard fields attributes *}
{capture assign=attributes}
{include file="forms/$field_template/form-field-attributes-renderer.html"}
{/capture}
{capture assign=attributes}{include file="forms/$field_template/form-field-attributes-renderer.html"}{/capture}
{*
Use the optionnal $field_value parameter if no value is defined
@@ -105,8 +103,8 @@ Use the optionnal $field_value parameter if no value is defined
<select {$attributes nofilter}>
{foreach $choices as $choice}
<option value="{$choice->value}" {if (is_array($value) && in_array($choice->value, $value)) || $choice->value == $value}selected="selected"{/if}>{$choice->label}
{/foreach}
<option value="{$choice->value}" {if (is_array($value) && in_array($choice->value, $value)) || $choice->value == $value}selected="selected"{/if}>{$choice->label}</option>
{/foreach}
</select>
{elseif $type == 'textarea'}