flexisip-account-manager/flexiapi/resources/views/account/register/phone.blade.php
Timothée Jaussoin c65f1a804c UI and feature adjustments
- 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
2020-09-14 11:24:59 +02:00

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