Resourcify admin cp controllers, routes, and views

This commit is contained in:
Jonny Barnes 2017-03-03 13:22:21 +00:00
parent 03e52915bd
commit 17804eed27
40 changed files with 208 additions and 431 deletions

View file

@ -6,8 +6,9 @@ Edit Place « Admin CP
@section('content')
<h1>Edit Place</h1>
<form action="/admin/places/edit/{{ $id }}" method="post" accept-charset="utf-8">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<form action="/admin/places/{{ $id }}" method="post" accept-charset="utf-8">
{{ csrf_field() }}
{{ method_field('PUT') }}
<input type="text" name="name" id="name" value="{{ $name }}"><br>
<input type="text" name="description" id="description" value="{{ $description }}"><br>
<input type="text" name="latitude" id="latitude" value="{{ $latitude }}"><br>