@extends('layouts.page') @section('title') Notification Edit @endsection @section('navs') Back @endsection @section('content') @include('layouts.tiny')
{!! Form::open(['url' => route('notification_alert.update',$notification_alert->id)]) !!} {!! EasyForm::setErrors($errors) !!} {!! EasyForm::setColSizes(4, 8) !!}
{!! EasyForm::checkbox('type', $notification_alert->label('type'), old('type', $notification_alert->type), $types, [ 'multiple' => true, 'id' => 'type']) !!} Want to select all Departments?    :    Yes

{!! EasyForm::checkbox('department', ' ', old('department', $notification_alert->department), AppHelper::options('departments'), [ 'multiple' => true, 'id' => 'department']) !!} {!! EasyForm::input('title', $notification_alert->label('title'), old('title', $notification_alert->title), ['id' => 'title', 'oninput' => 'updatePreview()'])!!} {!! EasyForm::textarea('description', $notification_alert->label('description'), old('description', $notification_alert->description), ['id' => 'mytextarea', 'rows' => 6, 'oninput' => 'updatePreview()'])!!} @if (!isset($view) || !$view)
@endif {!! EasyForm::select('status', $notification_alert->label('status'), old('status', $notification_alert->status),AppHelper::options('status_active'))!!} {!! EasyForm::date('expiry_date', $notification_alert->label('expiry_date'), old('expiry_date', $notification_alert->expiry_date))!!} {!! EasyForm::input('target_link', $notification_alert->label('target_link'), old('target_link', $notification_alert->target_link))!!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection