bebeboutik/modules/purchaseguide/templates/form/textarea.tpl
2016-08-30 18:10:44 +02:00

20 lines
692 B
Smarty

<label>{$input.title} : </label>
<div class="margin-form translatable">
{foreach from=$langs item=lang}
<div class="lang_{$lang.id_lang}" style="display: {if $lang.id_lang == $current_id_lang}block {else} none{/if}; float: left;">
<textarea {if isset($input.enable_rte) && $input.enable_rte}class="rte"{/if} name="{$input.name}_{$lang.id_lang}" rows="5" cols="40" {$input.html_attrs} >{if isset($input.value[$lang.id_lang])}{$input.value[$lang.id_lang]}{/if}</textarea>
</div>
{/foreach}
{if isset($input.required) && $input.required}
<sup> *</sup>
{/if}
<p class="clear"></p>
</div>
<div class="clear"><br></div>