@extends('layouts.appnew')
@section('title')
New {{ $program->title() }}
@endsection
@section('navs')
Back
@endsection
@section('content')
@include ('common.flash')
{!! Form::open(['url' => route('program.save', [$program->name()])]) !!}
@csrf
{!! EasyForm::setErrors($errors) !!}
{!! EasyForm::setColSizes(2, 10) !!}
{!! EasyForm::select('project_year', $program->label('project_year'), old('project_year', ''), AppHelper::options($program->projectYears()))!!}
{!! EasyForm::select('entity', $program->label('entity'), old('entity', ''), AppHelper::options('entities'))!!}
@if ($program->has('state'))
{!! EasyForm::select('state', $program->label('state'), old('state', ''), AppHelper::dropdown(Auth::user()->department(), 'zones_states'))!!}
@endif
{!! EasyForm::input('venue', $program->label('venue'), old('venue', ''))!!}
{!! EasyForm::location('location', $program->label('location'), old('location', ''))!!}
{!! EasyForm::input('location_latlong', $program->label('location_latlong'), old('location_latlong', ''), ['readonly' => true, 'placeholder' => 'Autofill'])!!}
Warning: Undefined variable $program in /var/www/html/pruthvi/resources/views/program_old/create.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/create.blade.php:32
Stack trace:
#0 {main}
thrown in /var/www/html/pruthvi/resources/views/program_old/create.blade.php on line 32