@extends('layouts.admin_template') @section('content') @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) ×{{ ucfirst(($msg == 'danger') ? "Error" : $msg) }}! {{ Session::get('alert-' . $msg) }} @endif @endforeach Send Email to All Users {{ csrf_field() }} Send to : All CRM Users Selected Users Select Users : @if(count($users) > 0) @foreach($users as $user) {{ $user->email }} @endforeach @endif Subject* : @if ($errors->has('subject')) {{ $errors->first('subject') }} @endif Body* : {{ old('city_abbr') }} @if ($errors->has('body')) {{ $errors->first('body') }} @endif @endsection