Commit 12c1e9da authored by Tino Goratsch's avatar Tino Goratsch

minor markup optimizations

parent de90b3f4
......@@ -6,10 +6,17 @@
</label>
{/if}
<div class="{if isset($cssSelector)}{$cssSelector}{else}{if empty($label)}col-sm-offset-2 {/if}{if !empty($columnSelector)}{$columnSelector}{else}col-sm-10{/if}{/if}">
{if isset($cssSelector) && empty($cssSelector)}
{block FORM_GROUP_FORM_FIELD}{/block}
{if !empty($help)}
<p class="help-block">{$help}</p>
{/if}
</div>
{else}
<div class="{if isset($cssSelector)}{$cssSelector}{else}{if empty($label)}col-sm-offset-2 {/if}{if !empty($columnSelector)}{$columnSelector}{else}col-sm-10{/if}{/if}">
{block FORM_GROUP_FORM_FIELD}{/block}
{if !empty($help)}
<p class="help-block">{$help}</p>
{/if}
</div>
{/if}
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment