@extends('layouts.app') @section('title', 'Create Notification |') @section('content')
{{ Form::open(array('url' => 'notifications/store', 'files' => true)) }}
@if ($errors->has('subject'))

{{ $errors->first('subject') }}

@endif
{!! Form::label('subject', 'Select user', ['class' => 'lgfont']) !!} (Select an specific user or all)
{!! Form::label('subject', 'Subject', ['class' => 'lgfont']) !!} {!! Form::text('subject', null, ['class' => 'form-control', 'placeholder' => ' Subject']) !!} @if ($errors->has('subject'))

{{ $errors->first('subject') }}

@endif
{!! Form::label('text', 'Message', ['class' => 'lgfont']) !!} {!! Form::textarea('text', null, ['class' => 'form-control summernote', 'placeholder' => ' description...']) !!} @if ($errors->has('text'))

{{ $errors->first('text') }}

@endif
@if ($errors->has('start_date'))
{{ $errors->first('start_date') }}
@endif
@if ($errors->has('end_date'))
{{ $errors->first('end_date') }}
@endif
{!! Form::label('document', 'Upload File', ['class' => 'lgfont']) !!}
{!! Form::submit('Create', ['class' => 'btn btn-sm btn-success']) !!} {!! Form::close() !!}
@stack('scripts') @endsection