register with otp, force username to phone number
This commit is contained in:
parent
7685323bd6
commit
53aa187d1f
@ -17,28 +17,12 @@
|
||||
<div class="panel-body">
|
||||
<div class="form-container">
|
||||
<div class="form-group">
|
||||
<label>
|
||||
{if $_c['registration_username'] == 'phone'}
|
||||
{Lang::T('Phone Number')}
|
||||
{elseif $_c['registration_username'] == 'email'}
|
||||
{Lang::T('Email')}
|
||||
{else}
|
||||
{Lang::T('Username')}
|
||||
{/if}
|
||||
</label>
|
||||
<label>{Lang::T('Phone Number')}</label>
|
||||
<div class="input-group">
|
||||
{if $_c['registration_username'] == 'phone'}
|
||||
<span class="input-group-addon" id="basic-addon1"><i
|
||||
class="glyphicon glyphicon-phone-alt"></i></span>
|
||||
{elseif $_c['registration_username'] == 'email'}
|
||||
<span class="input-group-addon" id="basic-addon1"><i
|
||||
class="glyphicon glyphicon-envelope"></i></span>
|
||||
{else}
|
||||
<span class="input-group-addon" id="basic-addon1"><i
|
||||
class="glyphicon glyphicon-user"></i></span>
|
||||
{/if}
|
||||
<input type="text" class="form-control" name="username" value="{$username}"
|
||||
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Username')}{/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}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
@ -20,27 +20,13 @@
|
||||
<div class="panel-body">
|
||||
<div class="form-group">
|
||||
<label>
|
||||
{if $_c['registration_username'] == 'phone'}
|
||||
{Lang::T('Phone Number')}
|
||||
{elseif $_c['registration_username'] == 'email'}
|
||||
{Lang::T('Email')}
|
||||
{else}
|
||||
{Lang::T('Username')}
|
||||
{/if}
|
||||
</label>
|
||||
<div class="input-group">
|
||||
{if $_c['registration_username'] == 'phone'}
|
||||
<span class="input-group-addon" id="basic-addon1"><i
|
||||
class="glyphicon glyphicon-phone-alt"></i></span>
|
||||
{elseif $_c['registration_username'] == 'email'}
|
||||
<span class="input-group-addon" id="basic-addon1"><i
|
||||
class="glyphicon glyphicon-envelope"></i></span>
|
||||
{else}
|
||||
<span class="input-group-addon" id="basic-addon1"><i
|
||||
class="glyphicon glyphicon-user"></i></span>
|
||||
{/if}
|
||||
<input type="text" class="form-control" name="username"
|
||||
placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Username')}{/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}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-group btn-group-justified mb15">
|
||||
|
Loading…
x
Reference in New Issue
Block a user