74 lines
2.0 KiB
PHP
74 lines
2.0 KiB
PHP
<div class="nav-tabs-custom">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active">
|
|
<a href="#lot-renseignement" data-toggle="tab" aria-expanded="true">
|
|
Renseignement
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#lot-documentation" data-toggle="tab" aria-expanded="true">
|
|
Documentations
|
|
@if(isset($documents_count))<span class="badge">{{ $documents_count }}</span>@endif
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#lot-photo" id="lot-photo-tab" data-toggle="tab" aria-expanded="true">
|
|
Photos
|
|
@if(isset($photos_count))<span class="badge">{{ $photos_count }}</span>@endif
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#lot-option" id="lot-option-tab" data-toggle="tab" aria-expanded="true">
|
|
Options
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="lot-renseignement">
|
|
@include('Hestimmo.modules.Lot.partials.edit-renseignement')
|
|
</div>
|
|
|
|
<div class="tab-pane" id="lot-documentation">
|
|
@include('Hestimmo.modules.Lot.partials.edit-documentation')
|
|
</div>
|
|
|
|
<div class="tab-pane" id="lot-photo">
|
|
@include('Hestimmo.modules.Lot.partials.edit-photo')
|
|
</div>
|
|
|
|
<div class="tab-pane" id="lot-option">
|
|
@include('Hestimmo.modules.Lot.partials.edit-option')
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@push('js')
|
|
@include('components.js', ['js' => '/js/laroute.js'])
|
|
<script>
|
|
$('.editor').summernote({
|
|
lang: 'fr-FR',
|
|
height: 120,
|
|
toolbar: [
|
|
// [groupName, [list of button]]
|
|
['style', ['bold', 'italic', 'underline', 'clear']],
|
|
['font', ['strikethrough', 'superscript', 'subscript']],
|
|
['fontsize', ['fontsize']],
|
|
['para', ['ul', 'ol', 'paragraph']],
|
|
['color', ['color']],
|
|
]
|
|
});
|
|
$('.save').click(function() {
|
|
$(this).prop('disabled', true);
|
|
$(this).html('en cours...');
|
|
$( "#lot-form" ).submit();
|
|
return true;
|
|
})
|
|
</script>
|
|
|
|
<!-- Include Google Maps JS API -->
|
|
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places&key={{ env('GOOGLE_GEOLOCATION_API_KEY') }}"></script>
|
|
<script type="text/javascript" src="/js/geo_autocomplete.js"></script>
|
|
@endpush
|