@php if(Auth::user()->rol_id==2){ $user= "asesor"; } else { $user= "admin"; } @endphp @extends('layouts.'.$user.'') @section('content')

Agregar nuevo documento al repositorio

{{ __('Crear nuevo documento') }}
@csrf
@error('nombre') {{ $message }} @enderror
{{-- --}}
@if (Auth::user()->rol_id != 2)
@error('categoria') {{$message}} @enderror
@else @endif
@error('url') {{ $message }} @enderror
Regresar
@endsection