@extends('layouts.main', ['activePage' => 'users', 'titlePage' => 'Editar usuario']) @section('content')
@csrf @method('PUT')

Usuario

Editar datos

@if ($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
@if ($errors->has('username')) {{ $errors->first('username') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@foreach ($roles as $id => $role) @endforeach
{{ $role }}
@endsection