2016-05-19 15:01:28 +01:00
|
|
|
@extends('master')
|
|
|
|
|
|
|
|
@section('title')
|
|
|
|
New Place « Admin CP
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<h1>New Place</h1>
|
2017-03-03 13:22:21 +00:00
|
|
|
<form action="/admin/places/" method="post" accept-charset="utf-8">
|
|
|
|
{{ csrf_field() }}
|
2016-05-19 15:01:28 +01:00
|
|
|
<label for="name">Name:</label> <input type="text" name="name" id="name" placeholder="Place Name"><br>
|
|
|
|
<label for="description">Description:</label> <input type="text" name="description" id="description" placeholder="Description"><br>
|
|
|
|
<label for="latitude">Latitude:</label> <input type="text" name="latitude" id="latitude" placeholder="Latitude"><br>
|
|
|
|
<label for="longitude">Longitude:</label> <input type="text" name="longitude" id="longitude" placeholder="Longitude"><br>
|
|
|
|
<input type="submit" name="submit" value="Submit">
|
|
|
|
<h2>Location</h2>
|
|
|
|
<button type="button" name="locate" id="locate">Locate</button>
|
|
|
|
</form>
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('scripts')
|
2016-09-14 18:31:57 +01:00
|
|
|
@include('templates.mapbox-links')
|
2016-06-14 18:04:56 +01:00
|
|
|
|
2016-07-18 10:30:49 +01:00
|
|
|
<script src="/assets/js/newplace.js"></script>
|
2016-05-19 15:01:28 +01:00
|
|
|
@stop
|