2015-09-05 16:42:05 +00:00
|
|
|
@extends('public')
|
|
|
|
|
|
|
|
@section('header-buttons')
|
2016-08-14 11:29:35 +00:00
|
|
|
<a href="{{ baseUrl("/login") }}"><i class="zmdi zmdi-sign-in"></i>Sign in</a>
|
2015-09-05 16:42:05 +00:00
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="text-center">
|
|
|
|
<div class="center-box">
|
2015-09-05 19:25:57 +00:00
|
|
|
<h1>Sign Up</h1>
|
2015-09-05 16:42:05 +00:00
|
|
|
|
2016-08-14 11:29:35 +00:00
|
|
|
<form action="{{ baseUrl("/register") }}" method="POST">
|
2015-09-05 16:42:05 +00: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 11:14:32 +00:00
|
|
|
@include('form/password', ['name' => 'password', 'placeholder' => 'Must be over 5 characters'])
|
2015-09-05 16:42:05 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="from-group">
|
2015-09-05 19:25:57 +00:00
|
|
|
<button class="button block pos">Create Account</button>
|
2015-09-05 16:42:05 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@if(count($socialDrivers) > 0)
|
|
|
|
<hr class="margin-top">
|
|
|
|
<h3 class="text-muted">Social Registration</h3>
|
2015-09-05 19:25:57 +00:00
|
|
|
<p class="text-small">Register and sign in using another service.</p>
|
2015-09-05 16:42:05 +00:00
|
|
|
@if(isset($socialDrivers['google']))
|
2016-08-14 11:29:35 +00:00
|
|
|
<a href="{{ baseUrl("/register/service/google") }}" style="color: #DC4E41;"><i class="zmdi zmdi-google-plus-box zmdi-hc-4x"></i></a>
|
2015-09-05 16:42:05 +00:00
|
|
|
@endif
|
|
|
|
@if(isset($socialDrivers['github']))
|
2016-08-14 11:29:35 +00:00
|
|
|
<a href="{{ baseUrl("/register/service/github") }}" style="color:#444;"><i class="zmdi zmdi-github zmdi-hc-4x"></i></a>
|
2015-09-05 16:42:05 +00:00
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|