@extends('layouts.app') @section('titulo','Usuario') @section('contenido') @php $editando = (bool) $registro->id; @endphp

{{ $editando?'Editar':'Nuevo' }} usuario

@csrf @if($editando) @method('PUT') @endif
activo??1)?'checked':'' }}>
Cancelar
@endsection