@version(2) @load('css/contact.css')
@if(!$form)

{{ $lang->no_form_notice }}

@else @if(count($form_list) > 1) @endif

{{ $form->title }}

@if($form->description)

{!! nl2br(htmlspecialchars($form->description, ENT_QUOTES, 'UTF-8')) !!}

@endif
@if(!count($fields))

{{ $lang->msg_form_has_no_field }}

@else
@foreach($fields as $field)
@if($field->field_type !== 'agreement') @endif
@if($field->field_type === 'textarea') @elseif($field->field_type === 'select') @elseif($field->field_type === 'radio') @foreach(array_filter(array_map('trim', explode("\n", $field->options))) as $ctc_option) @endforeach @elseif($field->field_type === 'checkbox') @foreach(array_filter(array_map('trim', explode("\n", $field->options))) as $ctc_option) @endforeach @elseif($field->field_type === 'file') @if($use_file) is_required === 'Y') required @endif />

{{ implode(', ', $allowed_extensions) }}

@endif @elseif($field->field_type === 'agreement')
{!! nl2br(htmlspecialchars($field->options, ENT_QUOTES, 'UTF-8')) !!}
@else is_required === 'Y') required @endif /> @endif @if($field->help)

{{ $field->help }}

@endif
@endforeach @if($use_lookup && !$is_logged)

{{ $lang->lookup_password_help }}

@endif
@if($use_lookup) {{ $lang->lookup }} @endif
@endif @endif