seepur/resources/views/register.edge

87 lines
2.7 KiB
Text
Raw Normal View History

@layout('layouts.main')
@section('page-title')
Seepur| Register
@endsection
@section('content')
{{ script('scripts/views/register/app.bundle.js') }}
<h1 class="title">
Register
</h1>
<p class="subtitle">
Yep, It's Free
</p>
<form class="form register" method="POST" action="{{ route('register') }}" id="form-register">
{{ csrfField() }}
<div class="field">
<label class="label">Name</label>
<div class="control has-icons-left">
<input class="input {{ getErrorFor('name') ? 'is-danger' : ''}}" required="true" name="name" type="text" placeholder="John Snow" value="{{ old('name', '') }}">
<span class="icon is-small is-left">
<i class="fa fa-id-card"></i>
</span>
</div>
<p class="help is-danger">{{ getErrorFor('name') ? getErrorFor('name') : '' }}</p>
</div>
<div class="field">
<label class="label">Email</label>
<div class="control has-icons-left">
<input class="input {{ getErrorFor('email') ? 'is-danger' : ''}}" required="true" name="email" type="email" placeholder="j.snow@thewall.com" value="{{ old('email', '') }}">
<span class="icon is-small is-left">
<i class="fa fa-envelope"></i>
</span>
</div>
<p class="help is-danger">{{ getErrorFor('email') ? getErrorFor('email') : '' }}</p>
</div>
<div class="field">
<label class="label">Password</label>
<div class="control has-icons-left">
<input id="txt-register-password" class="input {{ getErrorFor('password') ? 'is-danger' : ''}}" required="true" name="password" type="password" placeholder="password">
<span class="icon is-small is-left">
<i class="fa fa-lock"></i>
</span>
</div>
<p class="help is-danger">{{ getErrorFor('password') ? getErrorFor('password') : '' }}</p>
</div>
<div class="field">
<label class="label">Confirm Password</label>
<div class="control has-icons-left">
<input id="txt-register-confirm-password" class="input" required="true" type="password" placeholder="confirm password">
<span class="icon is-small is-left">
<i class="fa fa-lock"></i>
</span>
</div>
</div>
<div class="field">
<div class="control">
<label class="checkbox">
<input type="checkbox" id="chk-register-terms" name="terms">
I agree to the <a href="#">terms and conditions</a>
</label>
<p class="help is-danger">{{ getErrorFor('terms') ? getErrorFor('terms') : '' }}</p>
</div>
</div>
<div class="field is-grouped">
<div class="control">
<button id="btn-register-submit" class="button is-link" disabled="true">Submit</button>
</div>
<div class="control">
<a class="button is-link is-light" href='/'>Cancel</a>
</div>
</div>
</form>
@endsection