@extends('themes.basic.layouts.single') @section('header_title', $offer->title) @section('title', $offer->title) @section('page_description', $offer->description) @section('body_bg', 'bg-white') @section('breadcrumbs', Breadcrumbs::render('offers', $offer)) @section('breadcrumbs_schema', Breadcrumbs::view('breadcrumbs::json-ld', 'offers', $offer)) @section('header_v2', true) @section('container', 'container-custom') @section('content')

{{ $offer->title }}

{!! nl2br(html_entity_decode($offer->description)) !!}

@if(!empty($offer->form_fields) && is_array(json_decode($offer->form_fields, true)) && count(json_decode($offer->form_fields, true)) > 0)
@csrf @foreach(json_decode($offer->form_fields, true) as $field)
@if($field['type'] == 'text' || $field['type'] == 'email') @elseif($field['type'] == 'textarea') @elseif($field['type'] == 'checkbox')
@endif
@endforeach
@endif
@endsection