@extends('admin::Layouts.master')
@section('content')
<div class="container-fluid pt-4">
    @include('partials.messages')
    <ul class="nav nav-tabs mb-3">
        <li class="nav-item">
            <a class="nav-link{{ $subactive == 'user' ? ' active' : '' }}"
               href="{{ route('admin.users.edit', [$user->uuid]) }}">
                <span class="fas fa-fw fa-sm fa-user"></span> Benutzer
            </a>
        </li>
        <li class="nav-item">
            <a class="nav-link{{ $subactive == 'profile' ? ' active' : '' }}{{ !isset($user) ? ' disabled' : '' }}"
               href="{{ route('admin.users.profile', [$user->uuid ?? '#']) }}">
                <span class="fas fa-fw fa-sm fa-address-card"></span> Profil
            </a>
        </li>
        <li class="nav-item">
            <a class="nav-link{{ $subactive == 'invites' ? ' active' : '' }}{{ !isset($user) ? ' disabled' : '' }}"
               href="#">
                <span class="fas fa-fw fa-sm fa-ticket-alt"></span> Einladungen
            </a>
        </li>
    </ul>
    <form action="{{ route('admin.users.profile.update', [$user->uuid]) }}" method="post">
        @csrf
        <div class="col-12 col-sm-6 col-lg-3">
            <label for="avatar">Avatar:</label>
            <input type="image" class="form-control">
        </div>
    </form>
</div>
@stop
