{{ html()->label('Title')->for('title') }} {{--
Title
--}}
{{ html()->text('title') ->class('form-control') ->placeholder('Title') ->attribute('maxlength', 191) ->required()}} {{--
--}}
{{ html()->label('Body')->for('body') }} {{--
Body
--}}
{{ html()->textarea('body') ->class('form-control') ->id('new_thread_textarea') ->style('width: 100%') ->placeholder('Body')}} {{--
--}}
{{ html()->label('Tags')->for('tags[]') }}
{{ html()->multiselect('tags[]', $tags->pluck('text', 'id')) ->class('form-control') ->style('width: 100%"') }} {{--
--}} {{-- @foreach($tags as $tag)--}} {{--
{{$tag->text}}
--}} {{-- @endforeach--}} {{--
--}}
{{--
--}} {{-- {{ html()->label('Channel (Notification will be for admins)')->for('forum_channels_id') }}--}} {{--
--}} {{--
--}} {{-- {{ html()->select('forum_channels_id', $channels->pluck('name', 'id'))--}} {{-- ->class('form-control')--}} {{-- ->style('width: 100%"')--}} {{-- ->required()--}} {{-- }}--}} {{-- --}}{{--
--}} {{-- --}}{{--
Announcement (admin only)
--}} {{--
--}}
{!! Form::button('
'.$submitButtonText, ['type' => 'submit', 'class'=>'btn btn-outline-success btn-block']) !!}