<div id="recommend-form" class="recommend-form-wrapper">
<div class="k-container">
<div class="form-header">
<h1 class="title">{{ translation.getData('Form title') }}</h1>
<span class="description">{{ translation.getData('Form description') }}</span>
</div>
<form ref="form" class="recommend-form" @submit.prevent="submit" @keydown="error.clear($event.target.name); $forceUpdate()">
<div class="k-form-row">
<div class="k-form-group">
<div class="item-column">
<label for="name">{% trans %}Your full name{% endtrans %}:</label>
<input id="name" name="name" type="text" class="k-input field">
<span v-if="error.has('name')" class="k-form-notification">
{% trans %}This is required field{% endtrans %}
</span>
</div>
</div>
</div>
<div class="k-form-row k-col-lg-2">
<div class="k-form-group">
<div class="item-column">
<label for="postcode">{% trans %}Tel/Mob. Number{% endtrans %}:</label>
<input id="phone" name="phone" type="text" class="k-input field">
<span v-if="error.has('phone')" class="k-form-notification">
{% trans %}This is required field{% endtrans %}
</span>
</div>
</div>
<div class="k-form-group">
<div class="item-column">
<label for="email">{% trans %}Email address{% endtrans %}:</label>
<input id="email" name="email" type="email" class="k-input field">
<span v-if="error.has('email')" class="k-form-notification">
{% trans %}This is required field{% endtrans %}
</span>
</div>
</div>
</div>
<div class="k-form-row k-col-lg-2">
<div class="k-form-group">
<div class="item-column">
<label for="chef">{% block objectFieldLabel %}{% trans %}Salon name{% endtrans %}{% endblock %}:</label>
<input id="chef" name="object" type="text" class="k-input field">
<span v-if="error.has('object')" class="k-form-notification">
{% trans %}This is required field{% endtrans %}
</span>
</div>
</div>
<div class="recommend-address-fields">
<div class="k-form-group">
<div class="item-column">
<label for="postcode">{% trans %}ZIP code{% endtrans %}:</label>
<input id="postcode" name="postcode" type="text" class="k-input field">
<span v-if="error.has('postcode')" class="k-form-notification">
{% trans %}This is required field{% endtrans %}
</span>
</div>
</div>
<div class="k-form-group">
<div class="item-column">
<label for="city">{% trans %}City{% endtrans %}:</label>
<input id="city" name="city" type="text" class="k-input field">
<span v-if="error.has('city')" class="k-form-notification">
{% trans %}This is required field{% endtrans %}
</span>
</div>
</div>
</div>
</div>
<div class="k-form-row">
<div class="k-form-group">
<div class="item-column">
<label for="message">{% trans %}Message{% endtrans %}:</label>
<textarea id="message" name="message" class="k-textarea field resize-none" rows="5"></textarea>
</div>
</div>
</div>
<button class="k-submit" type="submit" :disabled="processing">{% trans %}Send{% endtrans %}</button>
</form>
</div>
<modal @confirm="showNotification = false" @cancel="showNotification = false" :is-visible="showNotification">
<template #label>
<span v-text="response.success ? '{% trans %}Hooray{% endtrans %}!!' : '{% trans %}Oops{% endtrans %}!!'"></span>
</template>
<template #content>
<span v-text="response.message"></span>
</template>
</modal>
<overlay></overlay>
</div>