2017-11-21 23:12:31 -05:00
|
|
|
@extends('templates.dashboard')
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2017-11-21 23:12:31 -05:00
|
|
|
@section('page-content')
|
2016-01-26 23:20:08 -05:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="col-12 col-lg-8 offset-lg-2">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">Register</div>
|
2018-04-10 00:09:20 -04:00
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="card-body">
|
|
|
|
<form role="form" method="POST" action="{{ url('/register') }}">
|
2016-01-26 23:20:08 -05:00
|
|
|
{!! csrf_field() !!}
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="form-group row {{ $errors->has('name') ? 'has-error' : '' }}">
|
|
|
|
<label class="col-12 col-md-4 col-form-label">Name</label>
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="col-12 col-md-6">
|
|
|
|
<input class="form-control" type="text" name="name" value="{{ old('name') }}" />
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
@if ($errors->has('name'))
|
2018-04-16 00:45:32 -04:00
|
|
|
<span class="text-muted">
|
2016-01-26 23:20:08 -05:00
|
|
|
<strong>{{ $errors->first('name') }}</strong>
|
|
|
|
</span>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="form-group row {{ $errors->has('email') ? 'has-error' : '' }}">
|
|
|
|
<label class="col-12 col-md-4 col-form-label">E-Mail Address</label>
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="col-12 col-md-6">
|
|
|
|
<input class="form-control" type="email" name="email" value="{{ old('email') }}" />
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
@if ($errors->has('email'))
|
2018-04-16 00:45:32 -04:00
|
|
|
<span class="text-muted">
|
2016-01-26 23:20:08 -05:00
|
|
|
<strong>{{ $errors->first('email') }}</strong>
|
|
|
|
</span>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="form-group row {{ $errors->has('password') ? 'has-error' : '' }}">
|
|
|
|
<label class="col-12 col-md-4 col-form-label">Password</label>
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="col-12 col-md-6">
|
|
|
|
<input class="form-control" type="password" name="password" />
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
@if ($errors->has('password'))
|
2018-04-16 00:45:32 -04:00
|
|
|
<span class="text-muted">
|
2016-01-26 23:20:08 -05:00
|
|
|
<strong>{{ $errors->first('password') }}</strong>
|
|
|
|
</span>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="form-group row {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
|
|
|
<label class="col-12 col-md-4 col-form-label">Confirm Password</label>
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="col-12 col-md-6">
|
|
|
|
<input class="form-control" type="password" name="password_confirmation" />
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
@if ($errors->has('password_confirmation'))
|
2018-04-16 00:45:32 -04:00
|
|
|
<span class="text-muted">
|
2016-01-26 23:20:08 -05:00
|
|
|
<strong>{{ $errors->first('password_confirmation') }}</strong>
|
|
|
|
</span>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-04-16 00:45:32 -04:00
|
|
|
<div class="form-group row">
|
|
|
|
<div class="col-12 col-md-6 offset-md-4">
|
2016-01-26 23:20:08 -05:00
|
|
|
<button type="submit" class="btn btn-primary">
|
|
|
|
Register
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-01 01:07:03 -05:00
|
|
|
@endsection
|