// Remove start_field and end_field blocks from form helper.

This commit is contained in:
tDidierjean
2012-03-12 14:28:38 +00:00
parent 5177a2c817
commit a2ef8978c2
10 changed files with 69 additions and 79 deletions
@@ -26,9 +26,7 @@
{extends file="helpers/form/form.tpl"}
{block name="start_field_block"}
<div class="margin-form">
{block name="input_block"}
{if $input.type == 'cms_blocks'}
@@ -97,9 +95,7 @@
</div>
{/foreach}
{/if}
{/if}
{if $input.type == 'select_category'}
{elseif $input.type == 'select_category'}
{function name=render_select level=0}
{foreach $items as $item}
@@ -126,10 +122,7 @@
{call render_select items=$categories}
</select>
{/if}
{/if}
{if $input.type == 'cms_pages'}
{elseif $input.type == 'cms_pages'}
{assign var=cms value=$input.values}
{if isset($cms) && count($cms) > 0}
@@ -174,6 +167,8 @@
{else}
<p>{l s='No pages created'}</p>
{/if}
{else}
{$smarty.block.parent}
{/if}
{/block}