| ␉<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">␊ |
| </head>␊ |
| <body>␊ |
| <div class="container">␊ |
| ␊ |
| <nav class="navbar navbar-inverse">␊ |
| ␉<div class="navbar-header">␊ |
| ␉␉<a class="navbar-brand" href="{{ URL::to('mentors') }}">Mentor Alert</a>␊ |
| ␉<div class="jumbotron">␊ |
| ␉␉<h1>Mconnect<p class="lead">Learn everything you need through a mentor on Mentconnect. Here, we match you with experienced programmers so that you can spend your time building usable code and then help others like yourself.</h1>␊ |
| ␉</div>␊ |
| ␉<ul class="nav navbar-nav">␊ |
| ␉␉<li><a href="{{ URL::to('mentors') }}">View All Mentors</a></li>␊ |
| ␉␉<li><a href="{{ URL::to('mentors/create') }}">Create a mentor</a>␊ |
| ␉</ul>␊ |
| </nav>␊ |
| ␊ |
| <h1>Create a Mentor</h1>␊ |
| ␉␊ |
| ␉<div class="container">␊ |
| ␊ |
| <!-- if there are creation errors, they will show here -->␊ |
| {{ HTML::ul($errors->all()) }}␊ |
| ␉␉<div class="row">␊ |
| ␉ ␉␉<div class="col-md-6">␊ |
| ␉␉ ␉␉<h1>Be a Member Free<p><small> Register Now </small></p></h1>␊ |
| ␊ |
| {{ Form::open(array('url' => 'mentors')) }}␊ |
| ␉␉␉␉<!-- if there are creation errors, they will show here -->␊ |
| ␉␉␉␉{{ HTML::ul($errors->all()) }}␊ |
| ␊ |
| ␉<div class="form-group">␊ |
| ␉␉{{ Form::label('name', 'Name') }}␊ |
| ␉␉{{ Form::text('name', Input::old('name'), array('class' => 'form-control')) }}␊ |
| ␉</div>␊ |
| ␉␉␉␉{{ Form::open(array('url', 'mentors', 'class' => 'form-horizontal', 'role' => 'form')) }}␊ |
| ␉␉␉␉␉␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉{{ Form::label('name', 'Full Name', array('class' =>'col-sm-2 control-label')) }}␊ |
| ␉␉␉␉␉␉<div class="col-sm-8">␊ |
| ␉␉␉␉␉␉␉{{ Form::text('name', Input::old('name'), array('class' => 'form-control', 'placeholder' => 'John Doe')) }}␊ |
| ␉␉␉␉␉␉</div>␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| ␉<div class="form-group">␊ |
| ␉␉{{ Form::label('email', 'Email') }}␊ |
| ␉␉{{ Form::email('email', Input::old('email'), array('class' => 'form-control')) }}␊ |
| ␉</div>␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉{{ Form::label('email', 'Email', array('class' =>'col-sm-2 control-label')) }}␊ |
| ␉␉␉␉␉␉<div class="col-sm-8">␊ |
| ␉␉␉␉␉␉␉{{ Form::text('email', Input::old('name'), array('class' => 'form-control', 'placeholder' => 'john@gmail.com')) }}␊ |
| ␉␉␉␉␉␉</div>␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| ␉<div class="form-group">␊ |
| ␉␉{{ Form::label('title', 'Mentor Title') }}␊ |
| ␉␉{{ Form::select('title', array('0' => 'Select a title', '1' => 'Mentor', '2' => 'Mentee', '3' => 'Both'), Input::old('title'), array('class' => 'form-control')) }}␊ |
| ␉</div>␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉{{ Form::label('password', 'Password', array('class' =>'col-sm-2 control-label')) }}␊ |
| ␉␉␉␉␉␉<div class="col-sm-8">␊ |
| ␉␉␉␉␉␉␉{{ Form::password('password', array('class' => 'form-control', 'id' => 'password', 'placeholder' =>'Password')) }}␊ |
| ␉␉␉␉␉␉</div>␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉{{ Form::label('password', 'Confirm', array('class' =>'col-sm-2 control-label')) }}␊ |
| ␉␉␉␉␉␉<div class="col-sm-8">␊ |
| ␉␉␉␉␉␉␉{{ Form::password('password2', array('class' => 'form-control', 'placeholder' =>'Password')) }}␊ |
| ␉␉␉␉␉␉</div>␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉{{ Form::label('title', ' Title', array('class' => 'col-sm-2 control-label')) }}␊ |
| ␉␉␉␉␉␉<div class="col-sm-8">␊ |
| ␉␉␉␉␉␉␉{{ Form::select('title', array('0' => 'Select a title', '1' => 'Mentor', '2' => 'Mentee', '3' => 'Both'), Input::old('title'), array('class' => 'form-control')) }}␉␊ |
| ␉␉␉␉␉␉</div>␉␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉<div class="col-sm-offset-2 col-sm-8">␊ |
| ␉␉␉␉␉␉␉{{ Form::submit('Register', array('class' => 'btn btn-primary btn-lg pull-right')) }}␊ |
| ␉␉␉␉␉␉</div>␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| ␉␉␉␉{{ Form::close() }}␊ |
| ␊ |
| ␉ ␉␉</div>␊ |
| ␉ ␉␉<div class="col-md-6">␊ |
| ␊ |
| ␉{{ Form::submit('Create the mentor!', array('class' => 'btn btn-primary')) }}␊ |
| ␉␉␉␉<h1>Already a Member?<p><small> Login </small></p></h1>␊ |
| ␊ |
| {{ Form::close() }}␊ |
| ␉␉␉␉␉{{ Form::open(array('url', 'mentors', 'class' => 'form-horizontal', 'role' => 'form')) }}␊ |
| ␉␉␉␉␉␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉{{ Form::label('email', 'Email', array('class' =>'col-sm-4 control-label')) }}␊ |
| ␉␉␉␉␉␉<div class="col-sm-8">␊ |
| ␉␉␉␉␉␉␉{{ Form::text('email', Input::old('name'), array('class' => 'form-control', 'placeholder' => 'john@gmail.com')) }}␊ |
| ␉␉␉␉␉␉</div>␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| </div>␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉{{ Form::label('password', 'Password', array('class' =>'col-sm-4 control-label')) }}␊ |
| ␉␉␉␉␉␉<div class="col-sm-8">␊ |
| ␉␉␉␉␉␉␉{{ Form::password('password', array('class' => 'form-control', 'id' => 'password', 'placeholder' =>'Password')) }}␊ |
| ␉␉␉␉␉␉</div>␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| ␉␉␉␉␉<div class="form-group">␊ |
| ␉␉␉␉␉␉<div class="col-sm-offset-2 col-sm-10">␊ |
| ␉␉␉␉␉␉␉{{ Form::submit('Login', array('class' => 'btn btn-primary btn-lg pull-right')) }}␊ |
| ␉␉␉␉␉␉</div>␊ |
| ␉␉␉␉␉</div>␊ |
| ␊ |
| ␊ |
| ␉ ␉␉␉{{ Form::close() }}␊ |
| ␉ ␉␉␉␊ |
| ␉ ␉␉</div>␊ |
| ␉␉␊ |
| ␉␉</div>␊ |
| ␉</div>␊ |
| ␊ |
| ␉<div class="modal-footer">␊ |
| ␉␉<small>All Rights Reserved. Mentconnect LLC. 2014.</small>␊ |
| ␉</div>␊ |
| ␉␊ |
| </body>␊ |
| </html> |
| </html>␊ |
| ␊ |