2015-09-05 12:42:05 -04:00
|
|
|
@extends('public')
|
|
|
|
|
|
|
|
@section('header-buttons')
|
|
|
|
<a href="/login"><i class="zmdi zmdi-sign-in"></i>Sign in</a>
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="text-center">
|
|
|
|
<div class="center-box">
|
2015-09-05 15:25:57 -04:00
|
|
|
<h1>Sign Up</h1>
|
2015-09-05 12:42:05 -04:00
|
|
|
|
2015-09-05 15:25:57 -04:00
|
|
|
<form action="/register" method="POST">
|
2015-09-05 12:42:05 -04:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">Name</label>
|
|
|
|
@include('form/text', ['name' => 'name'])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">Email</label>
|
|
|
|
@include('form/text', ['name' => 'email'])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">Password</label>
|
2015-09-06 07:14:32 -04:00
|
|
|
@include('form/password', ['name' => 'password', 'placeholder' => 'Must be over 5 characters'])
|
2015-09-05 12:42:05 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="from-group">
|
2015-09-05 15:25:57 -04:00
|
|
|
<button class="button block pos">Create Account</button>
|
2015-09-05 12:42:05 -04:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@if(count($socialDrivers) > 0)
|
|
|
|
<hr class="margin-top">
|
|
|
|
<h3 class="text-muted">Social Registration</h3>
|
2015-09-05 15:25:57 -04:00
|
|
|
<p class="text-small">Register and sign in using another service.</p>
|
2015-09-05 12:42:05 -04:00
|
|
|
@if(isset($socialDrivers['google']))
|
|
|
|
<a href="/register/service/google" style="color: #DC4E41;"><i class="zmdi zmdi-google-plus-box zmdi-hc-4x"></i></a>
|
|
|
|
@endif
|
|
|
|
@if(isset($socialDrivers['github']))
|
|
|
|
<a href="/register/service/github" style="color:#444;"><i class="zmdi zmdi-github zmdi-hc-4x"></i></a>
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|