@if (! RealEstateHelper::hideAgentInfoInPropertyDetailPage() && ($account = $property->author))
{{ __('Contact Agency') }}
{!! \Botble\RealEstate\Forms\Fronts\ConsultForm::create()
->setFormInputWrapperClass('ip-group')
->modify('content', 'textarea', ['attr' => ['class' => '']])
->modify('submit', 'submit', ['attr' => ['class' => 'tf-btn primary w-100']])
->add('type', 'hidden', ['attr' => ['value' => 'property']])
->add('data_id', 'hidden', ['attr' => ['value' => $property->getKey()]])
->addBefore('content', 'data_name', 'text', ['label' => false, 'attr' => ['value' => $property->name, 'disabled' => true]])
->renderForm()
!!}
@endif