client/users: fix patterns in account settings
This commit is contained in:
parent
21c15f4cb9
commit
68c966ff7d
|
@ -5,13 +5,13 @@
|
||||||
<ul>
|
<ul>
|
||||||
{{#if this.canEditName}}
|
{{#if this.canEditName}}
|
||||||
<li>
|
<li>
|
||||||
{{textInput text='User name' id='user-name' name='name' value=this.user.name}}
|
{{textInput text='User name' id='user-name' name='name' value=this.user.name pattern=this.userNamePattern}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if this.canEditPassword}}
|
{{#if this.canEditPassword}}
|
||||||
<li>
|
<li>
|
||||||
{{passwordInput text='Password' id='user-password' name='password' placeholder='leave blank if not changing'}}
|
{{passwordInput text='Password' id='user-password' name='password' placeholder='leave blank if not changing' pattern=this.passwordPattern}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue