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