{!! Form::label('unit_id', 'Unit Layanan:') !!} {!! Form::select('unit_id', $units, Request::routeIs('forms.create') ? $unit_id : null, ['class' => 'form-control select2', 'placeholder' => 'Pilih Unit Layanan', 'required' => true, 'disabled' => $is_unit ? true : false ]) !!} @if ($is_unit) {!! Form::hidden('unit_id', getAuthUnitID()) !!} @endif
{!! Form::label('type', 'Pilih Tipe Form:') !!} {!! Form::select('type', $types, Request::routeIs('forms.create') && !empty($form['t']) ? $form['t'] : null, ['class' => 'form-control', 'placeholder' => 'Pilih Tipe Form', 'required' => true, 'disabled' => Request::routeIs('forms.edit')]) !!} @if (Request::routeIs('forms.edit')) {!! Form::hidden('type', $form->type) !!} @endif
{!! Form::label('year_implementation', 'Tahun Pelaksanaan:') !!} {!! Form::text('year_implementation', Request::routeIs('forms.create') && !empty($form['y']) ? $form['y'] : null, ['class' => 'form-control','id'=>'year_implementation', 'required' => true, 'readonly' => true]) !!}
@if (Request::routeIs('forms.create')) @else @endif Batal dan Kembali
@push('css') @endpush @push('js') @endpush