@extends('layouts.page')
@section('title')
EDIT ROLE
@endsection
@section('navs')
Back
@endsection
@section('content')
@include ('common.flash')
{!! Form::open(['url' => route('role.update', [$role->id, $act])]) !!}
@csrf
{!! EasyForm::setErrors($errors) !!}
{!! EasyForm::setColSizes(2, 10) !!}
{!! Form::hidden('program', '') !!}
{!! Form::hidden('zone', '') !!}
{!! Form::hidden('state', '') !!}
{!! Form::hidden('entity', '') !!}
{!! Form::hidden('departments', '') !!}
{!! EasyForm::select('role', $role->label('role'), old('role', $role->role), AppHelper::options('adroles'), ['onchange' => 'updateRolesForm(true)'])!!}
{!! EasyForm::select('program', $role->label('program'), old('program', $role->program),['acc' => 'Finance and Accounts'])!!}
{!! EasyForm::submit('Submit') !!}
{!! Form::close() !!}
@endsection