Last active
December 20, 2015 00:09
-
-
Save mateusgf/6039345 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@layout('layouts.default') | |
@section('content') | |
<h1>Register</h1> | |
@if($errors->has()) | |
<p>The following errors have occurred:</p> | |
<ul id="form-errors"> | |
{{ $errors->first('username', '<li>:message</li>') }} | |
{{ $errors->first('password', '<li>:message</li>') }} | |
{{ $errors->first('password_confirmation', '<li>:message</li>') }} | |
</ul> | |
@endif | |
{{ Form::open('register', 'POST') }} | |
{{ Form::token() }} | |
<p> | |
{{ Form::label('username', 'Username') }}<br /> | |
{{ Form::text('username', Input::old('username')) }} | |
</p> | |
<p> | |
{{ Form::label('password', 'Password') }}<br /> | |
{{ Form::password('password') }} | |
</p> | |
<p> | |
{{ Form::label('password_confirmation', 'Confirm Password') }}<br /> | |
{{ Form::password('password_confirmation') }} | |
</p> | |
<p>{{ Form::submit('Register') }}</p> | |
{{ Form::close() }} | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment