LSformElement :: textarea : Added CSS extra class on edit mode

This commit is contained in:
Benjamin Renard 2012-09-14 16:51:17 +02:00
parent b7b82c67c0
commit 43c53751c5

View file

@ -1,5 +1,5 @@
{if $freeze}
{if $value}<p class='LSformElement_textarea{if $LSformElement_textarea_extra} {$LSformElement_textarea_extra}{/if}'>{$value}</p>{else}{$noValueTxt}{/if}
{else}
<textarea name='{$attr_name}[]' class='LSform'>{$value}</textarea>
<textarea name='{$attr_name}[]' class='LSform{if $LSformElement_textarea_extra} {$LSformElement_textarea_extra}{/if}'>{$value}</textarea>
{/if}