mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-04-17 19:58:27 +00:00
- Add a toggle for the phone SMS registration/auth related features - Add the newsletter email registration toggle - Rename and move around views and controllers - Refactor the login and registration forms - Split the registration form in two, email and phone
31 lines
No EOL
993 B
PHP
31 lines
No EOL
993 B
PHP
@extends('layouts.main')
|
|
|
|
@section('content')
|
|
|
|
<h2>Register using a phone number</h2>
|
|
|
|
{!! Form::open(['route' => 'account.store.phone']) !!}
|
|
|
|
<p>Fill a phone number and a username (optional) you will then be able to set a password to finish the registration process.</p>
|
|
|
|
<div class="form-group">
|
|
{!! Form::label('phone', 'Phone number') !!}
|
|
{!! Form::text('phone', old('phone'), ['class' => 'form-control', 'placeholder' => '+123456789']) !!}
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{!! Form::label('username', 'SIP Username (optional)') !!}
|
|
<div class=" input-group mb-3">
|
|
{!! Form::text('username', old('username'), ['class' => 'form-control', 'placeholder' => 'username']) !!}
|
|
<div class="input-group-append">
|
|
<span class="input-group-text" id="basic-addon2">{{ $domain }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@include('parts.terms')
|
|
|
|
{!! Form::submit('Register', ['class' => 'btn btn-primary btn-centered']) !!}
|
|
{!! Form::close() !!}
|
|
|
|
@endsection |