Last active
August 29, 2015 14:11
-
-
Save shinigamicorei7/e61846159aa5b63514f4 to your computer and use it in GitHub Desktop.
Formulario Simple
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
@extends('layouts.main') | |
@section('content') | |
<div class="row"> | |
<div class="col-md-5 col-md-offset-3"> | |
{{ Form::open(['route'=>'register_post','class'=>'panel panel-default']) }} | |
<div class="panel-body"> | |
<div class="form-group {{ $errors->has('firstname') ? 'has-error' : '' }}"> | |
<label class="control-label" for="firstname">Nombres:</label> | |
<input type="text" name="firstname" class="form-control" value="{{ Input::old('firstname') }}" /> | |
{{ $errors->first('firstname','<b class="help-block">:message</b>') }} | |
</div> | |
<div class="form-group {{ $errors->has('lastname') ? 'has-error' : '' }}"> | |
<label class="control-label" for="lastname">Apellidos:</label> | |
<input type="text" name="lastname" class="form-control" value="{{ Input::old('lastname') }}" /> | |
{{ $errors->first('lastname','<b class="help-block">:message</b>') }} | |
</div> | |
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}"> | |
<label class="control-label" for="email">Email:</label> | |
<input type="text" name="email" class="form-control" value="{{ Input::old('email') }}" /> | |
{{ $errors->first('email','<b class="help-block">:message</b>') }} | |
</div> | |
<div class="form-group {{ $errors->has('password') ? 'has-error' : '' }}"> | |
<label class="control-label" for="password">Password:</label> | |
<input type="password" name="password" class="form-control" value="{{ Input::old('password') }}" /> | |
{{ $errors->first('password','<b class="help-block">:message</b>') }} | |
</div> | |
<div class="form-group {{ $errors->has('password_confirmation') ? 'has-error' : '' }}"> | |
<label class="control-label" for="password_confirmation">Repeat Password:</label> | |
<input type="password" name="password_confirmation" class="form-control" /> | |
{{ $errors->first('password_confirmation','<b class="help-block">:message</b>') }} | |
</div> | |
</div> | |
<div class="panel-footer"> | |
<input type="submit" value="Obtener mi cuenta" class="btn btn-primary btn-block" /> | |
</div> | |
{{ Form::close() }} | |
</div> | |
</div> | |
@stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment