Permalink
Browse files

Merge pull request #2517 from thelia/fix/choice-render-multiple

fix/choice-render-multiple
  • Loading branch information...
gillesbourgeat committed Sep 14, 2018
2 parents 029df75 + 154f2b5 commit 0b95229adb45ab298231934b75e6b468b6d740e8
@@ -67,7 +67,7 @@
{elseif $type == 'checkbox' || $type == 'radio'}
id="{$label_attr.for}" name="{$name}" class="{$field_extra_class}" value="{$value}" {if $checked}checked="checked"{/if} {$sDisabled} {$sReadonly} {$sRequired nofilter} {$attr nofilter}
{elseif $type == 'choice'}
id="{$label_attr.for}" name="{$name}" class="{$standardClass} {$field_extra_class}" {if $multiple}multiple{/if} {if $attr_list.size}size="{$attr_list.size}"{/if} {$sDisabled} {$sReadonly} {$sRequired nofilter} {$attr nofilter}
id="{$label_attr.for}" name="{$name}{if $multiple}[]{/if}" class="{$standardClass} {$field_extra_class}" {if $multiple}multiple{/if} {if $attr_list.size}size="{$attr_list.size}"{/if} {$sDisabled} {$sReadonly} {$sRequired nofilter} {$attr nofilter}
{elseif $type == 'collection'}
id="{$label_attr.for}" name="{$name}[]" class="{$standardClass} {$field_extra_class}" {if $multiple}multiple{/if} {if $attr_list.size}size="{$attr_list.size}"{/if} {$sDisabled} {$sReadonly} {$sRequired nofilter} {$attr nofilter}
{elseif $type == 'textarea'}

0 comments on commit 0b95229

Please sign in to comment.