// Refactoring helper forms with new blocks
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13937 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
*}
|
||||
{extends file="helpers/form/form.tpl"}
|
||||
|
||||
{block name="start_field_block"}
|
||||
<div class="margin-form">
|
||||
{block name="input_block"}
|
||||
{if $input.type == 'select_theme'}
|
||||
<select name="{$input.name}" id="{$input.name}" {if isset($input.multiple)}multiple="multiple" {/if}{if isset($input.onchange)}onchange="{$input.onchange}"{/if}>
|
||||
{foreach $input.options.query AS $option}
|
||||
@@ -42,7 +41,8 @@
|
||||
>{$option|escape:'htmlall':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{if isset($input.hint)}<span class="hint" name="help_box">{$input.hint}<span class="hint-pointer"> </span></span>{/if}
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user