@extends('frontend.layouts.app') @push('after-scripts') @push('after-scripts') @endpush @section('content') {!! Breadcrumbs::render('frontend.messages.create') !!}
{{ csrf_field() }}
{{ html()->label('To')->for('recipient') }} {{-- --}}
{{ html()->label('Subject')->for('title') }} {{-- --}}
{{ html()->text('title') ->class('form-control') ->placeholder('Subject') ->attribute('maxlength', 191) ->required()}} {{-- --}}
{{ html()->label('Body')->for('body') }} {{-- --}}
{{ html()->textarea('body') ->class('form-control richtext') ->id('new_thread_textarea') ->style('width: 100%') ->placeholder('Body')}} {{-- --}}
{!! Form::button(' Send', ['type' => 'submit', 'class'=>'btn btn-primary form-control']) !!}
{{--
--}} {{-- {{ csrf_field() }}--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{-- @if($users->count() > 0)--}} {{--
--}} {{-- @foreach($users as $user)--}} {{-- --}} {{-- @endforeach--}} {{--
--}} {{-- @endif--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} @stop