-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit.blade.php
46 lines (37 loc) · 1.43 KB
/
edit.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
@extends('layouts.master')
@section('title', $title)
@section('sidebar')
@parent
// you can add something here
@endsection
@section('content')
<!-- edit.blade.php -->
<h1 id="myHeader">{{ $title }}</h1>
{!! Form::model($people, [
'method' => 'PATCH',
'route' => ['people.update', $people->id]
]) !!}
<table border="0">
<tr>
<td>{!! Form::label('fullname', 'Name', ['class' => 'control-label']) !!}</td>
<td>{!! Form::text('fullname', null, ['class' => 'form-control', 'size' => 64, ]) !!}</td>
</tr>
<tr>
<td>{!! Form::label('email', 'Email', ['class' => 'control-label']) !!}</td>
<td>{!! Form::text('email', null, ['class' => 'form-control', 'size' => 64, ]) !!}</td>
</tr>
<tr>
<td>{!! Form::label('username', 'Username', ['class' => 'control-label']) !!}</td>
<td>{!! Form::text('username', null, ['class' => 'form-control', 'size' => 64, ]) !!}</td>
</tr>
<tr>
<td valign="top">{!! Form::label('bio', 'Short Biography', ['class' => 'control-label']) !!}</td>
<td>{!! Form::textarea('bio', null, ['class' => 'form-control']) !!}</td>
</tr>
<tr>
<td></td>
<td>{!! Form::submit('Submit', ['class' => 'btn btn-submit']) !!}</td>
</tr>
</table>
{!! Form::close() !!}
@endsection