mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-04-17 19:58:27 +00:00
46 lines
No EOL
1.7 KiB
PHP
46 lines
No EOL
1.7 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('content')
|
|
|
|
<h2>Register using an email address</h2>
|
|
|
|
{!! Form::open(['route' => 'account.store.email']) !!}
|
|
|
|
<p>Fill a username and an email address, you will then be able to set a password to finish the registration process.</p>
|
|
|
|
<div class="form-group">
|
|
{!! Form::label('username', 'SIP Username') !!}
|
|
<div class=" input-group">
|
|
{!! Form::text('username', old('username'), ['class' => 'form-control', 'placeholder' => 'username', 'required']) !!}
|
|
<div class="input-group-append">
|
|
<span class="input-group-text" id="basic-addon2">{{ $domain }}</span>
|
|
</div>
|
|
</div>
|
|
<small class="form-text text-muted mb-3">Shouldn't be a phone number. Capital letters are not allowed.</small>
|
|
</div>
|
|
|
|
<hr />
|
|
<div class="form-row">
|
|
<div class="form-group col-md-6">
|
|
{!! Form::label('email', 'Email') !!}
|
|
{!! Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => 'bob@example.net']) !!}
|
|
</div>
|
|
<div class="form-group col-md-6">
|
|
{!! Form::label('email_confirmation', 'Email confirmation') !!}
|
|
{!! Form::email('email_confirmation', old('email_confirm'), ['class' => 'form-control', 'placeholder' => 'bob@example.net']) !!}
|
|
</div>
|
|
</div>
|
|
|
|
@if (!empty(config('app.newsletter_registration_address')))
|
|
<div class="form-check mb-3">
|
|
{!! Form::checkbox('newsletter', 'true', false, ['class' => 'form-check-input', 'id' => 'newsletter']) !!}
|
|
<label class="form-check-label" for="newsletter">I would like to subscribe to the newsletter</a></label>
|
|
</div>
|
|
@endif
|
|
|
|
@include('parts.terms')
|
|
|
|
{!! Form::submit('Register', ['class' => 'btn btn-primary btn-centered']) !!}
|
|
{!! Form::close() !!}
|
|
|
|
@endsection |