@extends('layouts.app') @section('sidebar') @include('sidebar') @stop @section('content')

Information Mail


View Mails
@if(Session::has('error')) @endif @if(Session::has('success')) @endif {!! Form::model($users, array('url' => 'information/mail/store','files' => true, 'id' => 'infoMailSend-form', 'class' => 'm-form m-form--fit m-form--label-align-right', 'autocomplete' => 'on')) !!}
{!! Html::decode(Form::label('from', 'From', ['class' => 'col-sm-2 control-label'])) !!}
{!! Html::decode(Form::label('client', 'Client / To', ['class' => 'col-sm-2 control-label' ])) !!}
{!! $errors->first('client', '') !!}
{!! Html::decode(Form::label('subject', 'Subject', ['class' => 'col-sm-2 control-label' ])) !!}
{!! Form::text('subject', null, ['class' => 'form-control', 'placeholder'=>'Enter Subject']) !!} {!! $errors->first('subject', '') !!}
{!! Html::decode(Form::label('mail_body', 'Body', ['class' => 'col-sm-2 control-label'])) !!}
{!! Form::textarea('mail_body', null, ['class' => 'summernote form-control', 'id' => 'mail_body' ]) !!} {!! $errors->first('mail_body', '') !!}
{{ Form::file('customFile', array('value' => '', 'id'=>'customFile', 'class' => 'custom-file-input', 'accept'=>'image/x-png,image/png,image/jpeg,application/pdf')) }} {!! $errors->first('customFile', ':message') !!} Supported File Type: pdf, jpeg, png
{!! Form::submit("Single mail send", ['name' => 'single_mail_send','class' => 'btn btn-success m--margin-right-5']) !!} {!! Form::submit("Batch mail send", ['name' => 'batch_mail_send','class' => 'btn btn-primary']) !!} {!! link_to(URL::full(), "Cancel",array('class' => 'btn btn-secoundry')) !!}
{{ Form::close() }}
@endsection @section('script') @endsection