{{ trans('labels.SendNotification') }}
@if (count($errors) > 0)
@if($errors->any())
{{$errors->first()}}
@endif
@endif
@if(count($result['message'])>0)
{{ $result['message'] }}
@endif
{!! Form::open(array('url' =>'admin/sendNotifications', 'method'=>'post', 'class' => 'form-horizontal form-validate', 'enctype'=>'multipart/form-data')) !!}
{!! Form::close() !!}
{{ trans('labels.SelectDeviceText') }}
{{ trans('labels.SelectDeviceStatusText') }}
{!! Form::text('title', '', array('class'=>'form-control field-validate', 'id'=>'title'))!!}
{{ trans('labels.TitleText') }}
{!! Form::file('image', array('id'=>'image')) !!}
{{ trans('labels.notificationImageText') }}
{!! Form::textarea('message', '', array('class'=>'form-control field-validate', 'id'=>'message'))!!}
{{ trans('labels.SendNotificationDetailext') }}