@extends('layouts.page') @section('title') @if(Auth::user()->department() != 'ds') {{ $project->title() }} @endif Edit Location @endsection @section('navs') @endsection @section('content') @include ('patient.styles') @include ('common.image_viewer') @include ('common.flash')
{!! Form::open(['url' => route('project.update_location', [$project->name(), $project->id]), 'id' => 'idForm']) !!} {!! EasyForm::setErrors($errors) !!}
{{$project->label('project_location_label')}}
{!! EasyForm::location('location', $project->label('location'), old('location', $project->location))!!} {!! EasyForm::input('location_latlong', $project->label('location_latlong'), old('location_latlong', $project->location_latlong), ['readonly' => true, 'placeholder' => 'Autofille'])!!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@include ('layouts.map', ['callback' => 'initMapCustom']) @endsection