mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 17:34:26 +03:00
15 lines
558 B
Smarty
15 lines
558 B
Smarty
{extends file='forms/form.field.base.tpl'}
|
|
|
|
{block name='field_holder' prepend}
|
|
{strip}
|
|
<textarea id="{$sFieldName}"
|
|
name="{$sFieldName}"
|
|
class="{if $sFieldClasses}{$sFieldClasses}{else}width-full{/if}"
|
|
rows="{$iFieldRows}"
|
|
{if $sFieldPlaceholder}placeholder="{$sFieldPlaceholder}"{/if}
|
|
{if $bFieldIsDisabled}disabled{/if}
|
|
{foreach $aFieldRules as $sRule}data-{$sRule}{/foreach}>
|
|
{if $sFieldValue}{$sFieldValue}{else}{if $_aRequest[$sFieldName]}{$_aRequest[$sFieldName]}{/if}{/if}
|
|
</textarea>
|
|
{/strip}
|
|
{/block} |