mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-22 10:38:34 +02:00
Update registration form
- Change input name from 'username' to 'phone_number' - Add inputmode and pattern attributes for better validation
This commit is contained in:
parent
01c2808e43
commit
00081d40e5
1 changed files with 3 additions and 3 deletions
|
@ -25,8 +25,8 @@
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span class="input-group-addon" id="basic-addon1"><i
|
<span class="input-group-addon" id="basic-addon1"><i
|
||||||
class="glyphicon glyphicon-phone-alt"></i></span>
|
class="glyphicon glyphicon-phone-alt"></i></span>
|
||||||
<input type="text" class="form-control" name="username"
|
<input type="text" class="form-control" name="phone_number"
|
||||||
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Phone Number')}{/if}">
|
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Phone Number')}{/if}"inputmode="numeric" pattern="[0-9]*">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group btn-group-justified mb15">
|
<div class="btn-group btn-group-justified mb15">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue