LSformElement :: textarea : Added CSS extra class on edit mode
authorBenjamin Renard <brenard@easter-eggs.com>
Fri, 14 Sep 2012 14:51:17 +0000 (16:51 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Fri, 14 Sep 2012 14:51:17 +0000 (16:51 +0200)
public_html/templates/default/LSformElement_textarea_field.tpl

index ff4b1c7..d5bc82b 100644 (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}