forked from davzie/laravel-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnew.blade.php
55 lines (45 loc) · 1.97 KB
/
new.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@extends('laravel-bootstrap::layouts.interface-new')
@section('title')
Create New User
@stop
@section('heading')
<h1>Create New User</h1>
@stop
@section('form-items')
{{-- The first name form item --}}
<div class="form-group">
{{ Form::label( "first_name" , 'First Name' , array( 'class'=>'col-lg-2 control-label' ) ) }}
<div class="col-lg-10">
{{ Form::text( "first_name" , Input::old( "first_name" ) , array( 'class'=>'form-control' , 'placeholder'=>'First Name' ) ) }}
</div>
</div>
{{-- The last name form item --}}
<div class="form-group">
{{ Form::label( "last_name" , 'Last Name' , array( 'class'=>'col-lg-2 control-label' ) ) }}
<div class="col-lg-10">
{{ Form::text( "last_name" , Input::old( "last_name" ) , array( 'class'=>'form-control' , 'placeholder'=>'Last Name' ) ) }}
</div>
</div>
{{-- The email form item --}}
<div class="form-group">
{{ Form::label( "email" , 'Email' , array( 'class'=>'col-lg-2 control-label' ) ) }}
<div class="col-lg-10">
{{ Form::text( "email" , Input::old( "email" ) , array( 'class'=>'form-control' , 'placeholder'=>'Email' ) ) }}
</div>
</div>
<h3>Authentication</h3>
{{-- The password form item --}}
<div class="form-group">
{{ Form::label( "password" , 'New Password' , array( 'class'=>'col-lg-2 control-label' ) ) }}
<div class="col-lg-10">
{{ Form::password( "password" , array( 'class'=>'form-control' , 'placeholder'=>'Enter New Password' ) ) }}
</div>
</div>
{{-- The password confirmation form item --}}
<div class="form-group">
{{ Form::label( "password_confirmation" , 'Confirm' , array( 'class'=>'col-lg-2 control-label' ) ) }}
<div class="col-lg-10">
{{ Form::password( "password_confirmation" , array( 'class'=>'form-control' , 'placeholder'=>'Confirm New Password' ) ) }}
</div>
</div>
@stop