flexisip-account-manager/flexiapi/resources/views/account/register/email.blade.php
2023-08-08 15:01:24 +00:00

70 lines
2.5 KiB
PHP

@extends('layouts.main', ['welcome' => true])
@section('content')
<section>
<h1><i class="material-icons-outlined">account_circle</i> Register</h1>
<p style="margin-bottom: 2rem;">
You already have an account?
<a class="btn btn-secondary" href="{{ route('account.login') }}">Login</a>
</p>
@include('parts.tabs.register')
<form method="POST" action="{{ route('account.store') }}" accept-charset="UTF-8">
@csrf
<div>
<input placeholder="username" name="username" type="text" value="{{ old('username') }}" required>
<label for="username">Username</label>
@include('parts.errors', ['name' => 'username'])
</div>
<div>
<input type="text" name="domain" value="{{ $domain }}" disabled>
</div>
<div>
<input type="email" name="email" value="{{ old('email') }}" placeholder="bob@example.net" required>
<label for="email">Email</label>
@include('parts.errors', ['name' => 'email'])
</div>
<div>
<input type="email" name="email_confirmation" value="{{ old('email_confirm') }}" placeholder="bob@example.net" required>
<label for="email_confirmation">Confirm email</label>
@include('parts.errors', ['name' => 'email_confirmation'])
</div>
<div>
<input required="" name="password" type="password" value="" placeholder="Password">
<label for="password">Password</label>
@include('parts.errors', ['name' => 'password'])
</div>
<div>
<input required="" name="password_confirmation" type="password" value="" placeholder="Password confirmation">
<label for="password_confirmation">Confirm password</label>
@include('parts.errors', ['name' => 'password_confirmation'])
</div>
@if (!empty(config('app.newsletter_registration_address')))
<div class="large checkbox">
<input id="newsletter" name="newsletter" type="checkbox" value="true">
<label for="newsletter">I would like to subscribe to the newsletter</a></label>
</div>
@endif
@include('parts.terms')
<div class="large">
<input class="btn oppose" type="submit" value="Register">
</div>
</form>
</section>
<section class="on_desktop">
<img src="/img/login.svg">
</section>
@endsection
@section('footer')
Hop
@endsection