2019-02-03 12:34:15 -05:00
|
|
|
@extends('simple-layout')
|
2015-09-05 12:42:05 -04:00
|
|
|
|
|
|
|
@section('content')
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="container very-small">
|
2015-09-05 12:42:05 -04:00
|
|
|
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="my-l"> </div>
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-04-21 07:45:09 -04:00
|
|
|
<div class="card content-wrap auto-height">
|
2019-09-14 09:12:39 -04:00
|
|
|
<h1 class="list-heading">{{ Str::title(trans('auth.sign_up')) }}</h1>
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-08-04 09:26:39 -04:00
|
|
|
<form action="{{ url("/register") }}" method="POST" class="mt-l stretch-inputs">
|
2019-02-03 12:34:15 -05:00
|
|
|
{!! csrf_field() !!}
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">{{ trans('auth.name') }}</label>
|
2019-04-07 07:00:09 -04:00
|
|
|
@include('form.text', ['name' => 'name'])
|
2019-02-03 12:34:15 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">{{ trans('auth.email') }}</label>
|
2019-04-07 07:00:09 -04:00
|
|
|
@include('form.text', ['name' => 'email'])
|
2019-02-03 12:34:15 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">{{ trans('auth.password') }}</label>
|
2019-04-07 07:00:09 -04:00
|
|
|
@include('form.password', ['name' => 'password', 'placeholder' => trans('auth.password_hint')])
|
2019-02-03 12:34:15 -05:00
|
|
|
</div>
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-03-30 10:27:00 -04:00
|
|
|
<div class="grid half collapse-xs gap-xl v-center mt-m">
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="text-small">
|
2019-08-04 09:26:39 -04:00
|
|
|
<a href="{{ url('/login') }}">{{ trans('auth.already_have_account') }}</a>
|
2017-08-26 08:24:55 -04:00
|
|
|
</div>
|
2019-02-03 12:34:15 -05:00
|
|
|
<div class="from-group text-right">
|
2019-08-25 07:40:04 -04:00
|
|
|
<button class="button">{{ trans('auth.create_account') }}</button>
|
2019-02-03 12:34:15 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
2017-08-26 08:24:55 -04:00
|
|
|
|
2019-02-03 12:34:15 -05:00
|
|
|
@if(count($socialDrivers) > 0)
|
|
|
|
<hr class="my-l">
|
|
|
|
@foreach($socialDrivers as $driver => $name)
|
|
|
|
<div>
|
2019-08-04 09:26:39 -04:00
|
|
|
<a id="social-register-{{$driver}}" class="button block outline svg" href="{{ url("/register/service/" . $driver) }}">
|
2018-02-17 08:30:52 -05:00
|
|
|
@icon('auth/' . $driver)
|
2020-04-05 08:07:19 -04:00
|
|
|
<span>{{ trans('auth.sign_up_with', ['socialDriver' => $name]) }}</span>
|
2017-08-26 08:24:55 -04:00
|
|
|
</a>
|
2019-02-03 12:34:15 -05:00
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endif
|
2019-11-17 11:07:06 -05:00
|
|
|
|
2015-09-05 12:42:05 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@stop
|