File: D:/HostingSpaces/ZelfVerkopen/zelfverkopen.nl/resources/views/site/pages/properties/form.blade.php
@extends('site.master', ['view' => 'property-form'])
@php
$streetName = $property->straatnaam .' '.$property->huisnummer;
if(isset($property->huisnummer_toevoeging) && $property->huisnummer_toevoeging != '') $streetName .= ' '.$property->huisnummer_toevoeging;
@endphp
@section('title', $pageName . ' | ' . $streetName . ' | ' . $property->location)
@section('meta_description', '')
@section('content')
<section class="property-holder">
<div class="grid-row">
<div class="placeholder">
<h1>{{$pageName}}</h1>
<a class="return-to-property" href="/{{$links->properties->route}}/{{$property->slug}}">
<span class="double-arrow blue"></span>
@lang('site/properties.returnToProperty')
</a>
<a class="property-block" href="/{{$links->properties->route}}/{{$property->slug}}">
<figure>
@if(isset($property->media->headerImage) && sizeof($property->media->headerImage) >= 1)
<span style="background-image: url('{{$property->media->headerImage[0]->src}}');"></span>
@endif
</figure>
<div class="text">
<h2 class="location">
<span>{{$property->location}}</span>
@php
$streetName = $property->straatnaam .' '.$property->huisnummer;
if(isset($property->huisnummer_toevoeging) && $property->huisnummer_toevoeging != '') $streetName .= ' '.$property->huisnummer_toevoeging;
echo $streetName;
@endphp
</h2>
@if(isset($property->showPrice) && $property->showPrice && !in_array($property->status, [5]) )
<span class="price">{{$property->price_formated}}</span>
@endif
</div>
</a>
</div>
</div>
</section>
<section class="form-holder">
<div class="grid-row">
<div class="placeholder">
@include('site.forms.properties.'.$formType)
</div>
</div>
</section>
@include('site.partials.properties.faqRow')
@endsection