LSformElement : Added autocomplete="off" in fields templates

This commit is contained in:
Benjamin Renard 2011-05-23 11:05:48 +02:00
parent 954b610a51
commit 87e23f2ea4
7 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
{if $freeze}
{if $value}{$value}{else}{$noValueTxt}{/if}
{else}
<input type='text' name='{$attr_name}[]' value="{$value}" class='LSformElement_date'>
<input type='text' name='{$attr_name}[]' value="{$value}" class='LSformElement_date' autocomplete="off">
{/if}

View file

@ -1,5 +1,5 @@
{if $freeze}
{if $value}{$value}{else}{$noValueTxt}{/if}
{else}
<input type='text' name='{$attr_name}[]' value="{$value}"/>
<input type='text' name='{$attr_name}[]' value="{$value}" autocomplete="off"/>
{/if}

View file

@ -1,5 +1,5 @@
{if $freeze}
<span class='LSformElement_text LSformElement_maildir'>{if $value}{$value}{else}{$noValueTxt}{/if}</span><input type='hidden' name='{$attr_name}[]' class='LSformElement_text LSformElement_maildir' value="{$value}"/>
{else}
<input type='text' name='{$attr_name}[]' class='LSformElement_text LSformElement_maildir' value="{$value}"/>
<input type='text' name='{$attr_name}[]' class='LSformElement_text LSformElement_maildir' value="{$value}" autocomplete="off"/>
{/if}

View file

@ -1,5 +1,5 @@
{if $freeze}
********
{else}
<input type='password' name='{$attr_name}[]' value="{$pwd}" class='LSformElement_password'/>
<input type='password' name='{$attr_name}[]' value="{$pwd}" class='LSformElement_password' autocomplete="off"/>
{/if}

View file

@ -1,5 +1,5 @@
{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}"/>
<input type='text' name='{$attr_name}[]' class='LSformElement_text' value="{$value}" autocomplete="off"/>
{/if}

View file

@ -8,5 +8,5 @@
</span>
<input type='hidden' name='{$attr_name}[]' class='LSformElement_text' value="{$value}"/>
{else}
<input type='text' name='{$attr_name}[]' class='LSformElement_text {$uriClass}' value="{$value}"/>
<input type='text' name='{$attr_name}[]' class='LSformElement_text {$uriClass}' value="{$value}" autocomplete="off"/>
{/if}

View file

@ -19,7 +19,7 @@
{html_options options=$units selected=$values_and_units[$value].unitSill}
</select>
{else}
<input name='{$attr_name}_value[]' type=text class='LSformElement_valueWithUnit' value="{$values_and_units[$value].value}"/>
<input name='{$attr_name}_value[]' type=text class='LSformElement_valueWithUnit' value="{$values_and_units[$value].value}" autocomplete="off"/>
{/if}
{if $values_and_units[$value].unknown}
<span class='LSformElement_valueWithUnit_unknown'>{$values_and_units[$value].unknown}</span>