2020-07-12 18:36:12 +00:00
|
|
|
@extends('adminlte::page')
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
@section('title', config('app.name') . ' | ' . __('messages.form_preview.title'))
|
2020-07-12 18:36:12 +00:00
|
|
|
|
|
|
|
@section('content_header')
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<h4>{{__('messages.adm')}} / {{__('messages.form_builder.builder')}} / {{__('messages.form_preview.preview')}}</h4>
|
2020-07-12 18:36:12 +00:00
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
|
|
|
|
@section('js')
|
|
|
|
|
|
|
|
<x-global-errors></x-global-errors>
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-6 offset-4">
|
|
|
|
|
|
|
|
<img src="/img/preview.svg" width="250px" alt="Form preview illustration" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row mt-4">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
<div class="alert alert-success">
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<h5><i class="fas fa-eye"></i> {{__('messages.form_preview.looks')}}</h5>
|
2020-07-12 18:36:12 +00:00
|
|
|
|
|
|
|
<p>
|
2020-09-01 11:43:39 +00:00
|
|
|
{{__('messages.form_preview.f_info')}}
|
2020-07-12 18:36:12 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<h3>{{ $title }} - {{__('messages.form')}}</h2>
|
2020-07-12 18:36:12 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
@component('components.form', ['form' => $form, 'disableFields' => true])
|
|
|
|
|
|
|
|
@endcomponent
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer text-center">
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<button type="button" class="btn btn-success ml-2" onclick="window.location.href='{{ route('showForms') }}'"><i class="fas fa-chevron-left"></i> {{__('messages.back')}}</button>
|
|
|
|
<button type="button" class="btn btn-warning ml-2" onclick="window.location.href='{{ route('editForm', ['form' => $formID]) }}'"><i class="far fa-edit"></i> {{__('messages.edit')}}</button>
|
2020-07-12 18:36:12 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|
2020-07-16 05:46:20 +00:00
|
|
|
|
|
|
|
@section('footer')
|
|
|
|
@include('breadcrumbs.dashboard.footer')
|
|
|
|
@stop
|