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