@extends('layouts.app') @section('title', __('user.department')) @section('content')

@lang( 'user.department' ) @lang( 'user.department.edit' )

{!! Form::open(['url' => action('DepartmentController@update', [$department->id]), 'method' => 'PUT', 'id' => 'update_department', 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('is_active', 'Department Status' . ':*') !!} {{-- {!! Form::checkbox('is_active', $department->is_active , [ 'class' => 'input-icheck']); !!} {{ __( 'Active Department' ) }} --}} is_active == 1 ? ' checked' : '') }}>
{!! Form::label('name', __( 'user.department.name' ) . ':*') !!} {!! Form::text('name', $department->name, ['class' => 'form-control', 'required', 'placeholder' => __( 'user.department.name' )]) !!}
{!! Form::label('image', 'Department Image' . ':*') !!} {!! Form::file('image', ['class' => 'form-control', 'accept' => 'image/*']) !!}
{!! Form::close() !!}
@stop