@extends('layouts.appnew')
@section('title')
Edit {{ $program->programID() }}
@endsection
@section('navs')
Back
@endsection
@section('content')
@include ('common.flash')
{!! Form::open(['url' => route('program.update', [$program->name(), $program->id])]) !!}
@csrf
{!! EasyForm::setErrors($errors) !!}
{!! EasyForm::setColSizes(2, 10) !!}
{!! EasyForm::select('entity', $program->label('entity'), old('entity', $program->entity), AppHelper::options('entities'))!!}
@if ($program->has('state'))
{!! EasyForm::select('state', $program->label('state'), old('state', $program->state), AppHelper::dropdown(Auth::user()->department(), 'zones_states')) !!}
@endif
{!! 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' => 'Autofill'])!!}
Warning: Undefined variable $program in /var/www/html/pruthvi/resources/views/program_old/edit.blade.php on line 32
Fatal error: Uncaught Error: Call to a member function level() on null in /var/www/html/pruthvi/resources/views/program_old/edit.blade.php:32
Stack trace:
#0 {main}
thrown in /var/www/html/pruthvi/resources/views/program_old/edit.blade.php on line 32