@extends('adminlte::page') @section('title', 'Editar Experiencia') @section('css') @stop @section('content_header')
@include('components.alerts')
@include('components.breadcrumbs', ['items' => ['Experiencias' => 'experiencias', 'Editar' => 'active']])

Editar Experiencia: {{ $experiencia->name }}

@stop @section('content')
@csrf @method('PUT')
{{-- TAB 1: INFORMACIÓN PRINCIPAL --}}
@if(auth()->user()->isAdmin())
@endif
{{-- TAB 2: LOGÍSTICA Y PERFIL --}}
{{-- TAB 3: UBICACIÓN Y CONTACTO --}}
{{-- TAB 4: TAXONOMÍAS --}}

@php $hasRelaciones = count($alojamientos) || count($restaurantes) || count($empresas) || count($productores) || count($oficinas); @endphp @if($hasRelaciones)
Relaciones
@if(count($alojamientos))
@endif @if(count($restaurantes))
@endif @if(count($empresas))
@endif @if(count($productores))
@endif @if(count($oficinas))
@endif @endif
{{-- TAB 5: MULTIMEDIA --}}
@php $imgPrincipal = $experiencia->archivos()->where('file_type', 'image')->first(); @endphp @if($imgPrincipal)
@endif
@stop @section('js') @stop