parent
886c65b28e
commit
8047a0487f
@ -1,48 +1,56 @@ |
|||||||
@extends('layouts.app') |
@extends('layouts.app') |
||||||
|
|
||||||
@section('content') |
@section('content') |
||||||
<div class="container"> |
<div class="container"> |
||||||
<div class="row justify-content-center"> |
<div class="row justify-content-center"> |
||||||
<div class="col-md-8"> |
<div class="col-md-8"> |
||||||
<div class="card"> |
<div class="card"> |
||||||
<div class="card-header"> |
<div class="card-header"> |
||||||
<h1>{{ __('Register') }}</h1> |
<h1>{{ __('Register') }}</h1> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<div class="card-body"> |
@if(config('app.allow_regs')) |
||||||
<form method="POST" action="{{ route('register') }}" aria-label="{{ __('Register') }}"> |
|
||||||
@csrf |
|
||||||
|
|
||||||
@php(Widget::setLayout(4, 6)) |
<div class="card-body"> |
||||||
|
<form method="POST" action="{{ route('register') }}" aria-label="{{ __('Register') }}"> |
||||||
|
@csrf |
||||||
|
|
||||||
{!! Widget::text('name', 'Username')->required()->prepend('@') |
@php(Widget::setLayout(4, 6)) |
||||||
->help('This will be part of your vanity URL; only letters, digits and |
|
||||||
some symbols are allowed. You can always change this later.') !!} |
|
||||||
|
|
||||||
{!! Widget::email('email', 'E-Mail Address')->required()->autofocus() |
{!! Widget::text('name', 'Username')->required()->prepend('@') |
||||||
->help('Used to login and for password resets') !!} |
->help('This will be part of your vanity URL; only letters, digits and |
||||||
|
some symbols are allowed. You can always change this later.') !!} |
||||||
|
|
||||||
{!! Widget::password('password', 'Password')->required() !!} |
{!! Widget::email('email', 'E-Mail Address')->required()->autofocus() |
||||||
{!! Widget::password('password_confirmation', 'Confirm Password')->required() !!} |
->help('Used to login and for password resets') !!} |
||||||
|
|
||||||
<div class="form-group row mb-0"> |
{!! Widget::password('password', 'Password')->required() !!} |
||||||
<div class="col-md-6 offset-md-4"> |
{!! Widget::password('password_confirmation', 'Confirm Password')->required() !!} |
||||||
<button type="submit" class="btn btn-primary"> |
|
||||||
{{ __('Register') }} |
|
||||||
</button> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</form> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="card-footer bg-white text-muted"> |
<div class="form-group row mb-0"> |
||||||
You can also register by logging in with |
<div class="col-md-6 offset-md-4"> |
||||||
<a href="{{route('oauth-google-authorize')}}">Google</a>, |
<button type="submit" class="btn btn-primary"> |
||||||
<a href="{{route('oauth-github-authorize')}}">GitHub</a>, |
{{ __('Register') }} |
||||||
or <a href="{{route('oauth-facebook-authorize')}}">Facebook</a>. |
</button> |
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
|
</form> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="card-footer bg-white text-muted"> |
||||||
|
You can also register by logging in with |
||||||
|
<a href="{{route('oauth-google-authorize')}}">Google</a>, |
||||||
|
<a href="{{route('oauth-github-authorize')}}">GitHub</a>, |
||||||
|
or <a href="{{route('oauth-facebook-authorize')}}">Facebook</a>. |
||||||
|
</div> |
||||||
|
|
||||||
|
@else |
||||||
|
<div class="card-body"> |
||||||
|
<p>Registrations are currently closed.</p> |
||||||
</div> |
</div> |
||||||
|
@endif |
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
@endsection |
@endsection |
||||||
|
Loading…
Reference in new issue