@extends('layouts.main') @section('title') {{ __('Add Project') }} @endsection {{-- --}} @section('page-title')

@yield('title')

@endsection @section('content') {!! Form::open(['route' => 'project.store', 'data-parsley-validate', 'id' => 'create-form', 'files' => true,'data-success-function'=> "formSuccessFunction"]) !!}

{{ __('Details') }}


{{-- Category --}}
{{ Form::label('category', __('Category'), ['class' => 'form-label col-12 ']) }}
{{-- Title --}}
{{ Form::label('title', __('Title'), ['class' => 'form-label col-12 ']) }} {{ Form::text('title', '', [ 'class' => 'form-control ', 'placeholder' => __('Title'), 'required' => 'true', 'id' => 'title', ]) }}
{{-- Slug --}}
{{ Form::label('slug', __('Slug'), ['class' => 'form-label col-12 ']) }} {{ Form::text('slug', '', [ 'class' => 'form-control ', 'placeholder' => __('Slug'), 'id' => 'slug', ]) }} {{ __("Only Small English Characters, Numbers And Hypens Allowed") }}
{{-- Description --}}
{{ Form::label('description', __('Description'), ['class' => 'form-label col-12 ']) }} {{ Form::textarea('description', '', [ 'class' => 'form-control mb-3', 'rows' => '5', 'id' => '', 'required' => 'true', 'placeholder' => __('Description') ]) }}
{{-- Project Type --}}
{{ Form::label('', __('Project Type'), ['class' => 'form-label col-12 ']) }} {{-- Upcoming --}}
{{ Form::radio('project_type', 'upcoming', null, [ 'class' => 'form-check-input', 'id' => 'upcoming', 'required' => true, 'checked' => true ]) }} {{ Form::label('project_type', __('Upcoming'), ['class' => 'form-check-label','for' => 'upcoming']) }}
{{-- Under Construction --}}
{{ Form::radio('project_type', 'under_construction', null, [ 'class' => 'form-check-input', 'id' => 'under_construction', 'required' => true, ]) }} {{ Form::label('project_type', __('Under Construction'), ['class' => 'form-check-label','for' => 'under_construction']) }}

{{ __('SEO Details') }}


{{-- SEO Title --}}
{{ Form::label('title', __('Title'), ['class' => 'form-label text-center']) }}
0
{{-- SEO Image --}}
{{ Form::label('meta_image', __('Image'), ['class' => 'form-label']) }}
{{-- SEO Description --}}
{{ Form::label('description', __('Description'), ['class' => 'form-label text-center']) }}
0
{{-- SEO Keywords --}}
{{ Form::label('keywords', __('Keywords'), ['class' => 'form-label']) }} (add comma separated keywords)
{{-- Location --}}

{{ __('Location') }}


{{ Form::label('city', __('City'), ['class' => 'form-label col-12 ']) }} {!! Form::hidden('city', '', ['class' => 'form-control ', 'id' => 'city']) !!} {{-- {{ Form::text('city', '', ['class' => 'form-control ', 'placeholder' => 'City', 'id' => 'city', 'required' => true]) }} --}}
{{ Form::label('country', __('Country'), ['class' => 'form-label col-12 ']) }} {{ Form::text('country', '', ['class' => 'form-control ', 'placeholder' => 'Country', 'id' => 'country', 'required' => true]) }}
{{ Form::label('state', __('State'), ['class' => 'form-label col-12 ']) }} {{ Form::text('state', '', ['class' => 'form-control ', 'placeholder' => 'State', 'id' => 'state', 'required' => true]) }}
{{ Form::label('latitude', __('Latitude'), ['class' => 'form-label col-12 ']) }} {!! Form::text('latitude', '', ['class' => 'form-control', 'id' => 'latitude', 'step' => 'any', 'readonly' => true, 'required' => true, 'placeholder' => trans('Latitude')]) !!}
{{ Form::label('longitude', __('Longitude'), ['class' => 'form-label col-12 ']) }} {!! Form::text('longitude', '', ['class' => 'form-control', 'id' => 'longitude', 'step' => 'any', 'readonly' => true, 'required' => true, 'placeholder' => trans('Longitude')]) !!}
{{ Form::label('address', __('Address'), ['class' => 'form-label col-12 ']) }} {{ Form::textarea('address', '', [ 'class' => 'form-control ', 'placeholder' => 'Address', 'rows' => '4', 'id' => 'address', 'autocomplete' => 'off', 'required' => 'true', ]) }}
{{-- Floor Plans --}}

{{ __('Floor Plans') }}


{{-- Floor Section --}}
{{-- Floor Title --}}
{{-- Floor Image --}}
{{ Form::label('floor-image', __('Floor Image'), ['class' => 'form-label']) }}
{{-- Add New Floor Button --}}
{{-- Images, Videos and Documents --}}

{{ __('Images, Videos and Documents') }}


{{-- Title Image --}}
{{ Form::label('title-image', __('Title Image'), ['class' => 'form-label']) }}
{{-- Gallery Images --}}
{{ Form::label('gallary-images', __('Gallery Images'), ['class' => 'form-label']) }}
{{-- Documents --}}
{{ Form::label('documents', __('Documents'), ['class' => 'form-label ']) }}
{{-- Video Link --}}
{{ Form::label('video_link', __('Video Link'), ['class' => 'form-label']) }} {{ Form::text('video_link', isset($list->video_link) ? $list->video_link : '', [ 'class' => 'form-control ', 'placeholder' => 'Video Link', 'id' => 'address', 'autocomplete' => 'off', ]) }}
{{-- Save --}}
  
{!! Form::close() !!} @endsection @section('script') @endsection