// Remove start_field and end_field blocks from options helper tpl

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14050 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-03-12 16:26:47 +00:00
parent 0e194d83b3
commit ffeb21db50
6 changed files with 129 additions and 137 deletions
@@ -25,7 +25,7 @@
*}
{extends file="helpers/options/options.tpl"}
{block name="start_field_block"}
{block name="field"}
{if $field['type'] == 'checkbox_table'}
<div class="margin-form" style="float: left; padding-left: 0; width: 317px; margin-top: 6px; height: 300px; overflow-y: auto;">
<table class="table" cellspacing="0">
@@ -44,18 +44,18 @@
{/foreach}
</tbody>
</table>
{elseif $field['type'] == 'textarea_newlines'}
<div class="margin-form">
<textarea name={$key} cols="{$field['cols']}" rows="{$field['rows']}">{$field['value']|replace:';':"\n"|escape:'htmlall':'UTF-8'}</textarea>
</div>
<div class="clear"></div>
<br />
{else}
<div class="margin-form">
{$smarty.block.parent}
{/if}
{/block}
{block name="end_field_block"}
{if $field['type'] == 'checkbox_table'}
<div class="clear"></div>
<br />
{block name="input"}
{if $field['type'] == 'textarea_newlines'}
<textarea name={$key} cols="{$field['cols']}" rows="{$field['rows']}">{$field['value']|replace:';':"\n"|escape:'htmlall':'UTF-8'}</textarea>
{else}
{$smarty.block.parent}
{/if}
</div>
{/block}
{/block}