{{ Form::label_styled($title, 'question-label', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
@if ($type == 'edit') @if (isset($control_type) && ($control_type == 'checkbox')) {{ Form::hidden($name, 0) }}
{{ Form::checkbox_basic($name, $sales_prep->{$name}) }}
@else
{{ Form::textarea_ex($name, $sales_prep->{$name}) }}
@endif @else @if (isset($control_type) && ($control_type == 'checkbox'))
{{ Form::label_styled($sales_prep->{$name} ? 'Yes' : 'No', 'answer-label label-grey', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
@else
{{ Form::label_styled($sales_prep->{$name}, 'answer-label label-grey', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
@endif @endif