jonnybarnes.uk/resources/views/admin/places/create.blade.php
Jonny Barnes 4289816f87 Imporve the admin cp styles
Squashed commit of the following:

commit ebd17a5b03f42e4221ff79762467c688126ca7b0
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Jan 11 11:35:49 2018 +0000

    Update changelog

commit c7324880f8e7f5c027b0ebe90fa7194af5a41ddc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Jan 11 11:34:25 2018 +0000

    Use buttons instead of submit inputs

commit 03ab29238fb3658f0c477bad13d7a438cfeda8c8
Merge: 884a438 1440742
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Jan 11 11:24:08 2018 +0000

    Merge branch 'develop' into feature/admin-cp-styles

commit 884a438389195f3599038a9b5defc7c1799dda12
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 10 19:06:17 2018 +0000

    update admin form HTML and add some new styles
2018-01-11 11:36:15 +00:00

39 lines
1.4 KiB
PHP

@extends('master')
@section('title')New Place « Admin CP « @stop
@section('content')
<h1>New Place</h1>
<form action="/admin/places/" method="post" accept-charset="utf-8" class="admin-form form">
{{ csrf_field() }}
<div>
<label for="name">Name:</label>
<input type="text" name="name" id="name" placeholder="Place Name">
</div>
<div>
<label for="description">Description:</label>
<input type="text" name="description" id="description" placeholder="Description">
</div>
<div>
<label for="latitude">Latitude:</label>
<input type="text" name="latitude" id="latitude" placeholder="Latitude">
</div>
<div>
<label for="longitude">Longitude:</label>
<input type="text" name="longitude" id="longitude" placeholder="Longitude">
</div>
<div>
<input type="submit" name="submit" value="Submit">
</div>
<h2>Location</h2>
<div>
<button type="button" name="locate" id="locate">Locate</button>
</div>
</form>
@stop
@section('scripts')
@include('templates.mapbox-links')
<script src="/assets/js/newplace.js"></script>
@stop