ldapsaisie/public_html/templates/default/LSformElement_text_field.tpl
2009-11-13 14:26:11 +01:00

5 lines
285 B
Smarty

{if $freeze}
<span class='LSformElement_text'>{if $value}{$value}{else}{$noValueTxt}{/if}</span><input type='hidden' name='{$attr_name}[]' class='LSformElement_text' value="{$value}"/>
{else}
<input type='text' name='{$attr_name}[]' class='LSformElement_text' value="{$value}"/>
{/if}