Skip to content

Commit

Permalink
Merge pull request PrestaShop#30503 from JevgenijVisockij/remove-suff…
Browse files Browse the repository at this point in the history
…ix-if-for-options-theme

Add class to password field
  • Loading branch information
kpodemski authored Dec 15, 2022
2 parents 0b910fb + 9fea967 commit d06522b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
</div>
{elseif $field['type'] == 'password'}
<div class="col-lg-9">{if isset($field['suffix'])}<div class="input-group{if isset($field.class)} {$field.class}{/if}">{/if}
<input type="{$field['type']}"{if isset($field['id'])} id="{$field['id']}"{/if} size="{if isset($field['size'])}{$field['size']|intval}{else}5{/if}" name="{$key}" value=""{if isset($field['autocomplete']) && !$field['autocomplete']} autocomplete="off"{/if} />
<input{if !empty($field['class'])} class="{$field['class']}"{/if} type="{$field['type']}"{if isset($field['id'])} id="{$field['id']}"{/if} size="{if isset($field['size'])}{$field['size']|intval}{else}5{/if}" name="{$key}" value=""{if isset($field['autocomplete']) && !$field['autocomplete']} autocomplete="off"{/if} />
{if isset($field['suffix'])}
<span class="input-group-addon">
{$field['suffix']|strval}
Expand Down

0 comments on commit d06522b

Please sign in to comment.