{!! Form::label('From:') !!} {!! Form::text('from', null, ['class' => 'form-control-admin', 'placeholder' => 'From']) !!}
{!! Form::label('To:') !!} {!! Form::text('to', null, ['class' => 'form-control-admin summernote', 'placeholder' => 'To']) !!}
@if(isset($points) && !empty($points) && $points->questionnaire->hack->is_first == 1)
{!! Form::label('Profile') !!} {!! Form::select('profile_id', $profiles, null, ['class' => 'form-control-admin role-select']) !!}
@elseif(isset($questionnaire) && !empty($questionnaire) && $questionnaire->hack->is_first == 1)
{!! Form::label('Profile') !!} {!! Form::select('profile_id', $profiles, null, ['class' => 'form-control-admin role-select']) !!}
@else
{!! Form::label('Text To Show:') !!} {!! Form::textarea('text_to_show', null, ['class' => 'form-control-admin summernote', 'placeholder' => 'Text To Show']) !!}
{!! Form::label('Badge') !!} {!! Form::select('badge_id', [ '0' => 'No badges' ] + $badges->toArray(), null, ['class' => 'form-control-admin role-select']) !!}
@endif