@extends('layouts.master') @section('title', 'User') @section('content')

Thông tin user

@csrf @method('PUT')
@if (session('error'))
{{ session('error') }}
@endif @if (session('success'))
{!! session('success')!!}
@endif @if ($errors->any()) @foreach ($errors->all() as $error) @endforeach @endif
{{$model->name}}

{{$model->role_name}}


{{$model->gender==1?"Nam":""}} {{$model->gender==0?"Nữ":""}} {{$model->gender==2?"Khác":""}}
{{$model->address? $model->address: "Chưa cập nhật" }}
{{$model->birthday? $model->birthday: "Chưa cập nhật" }}
(Để trống mật khẩu nếu không muốn thay đổi)
@endsection @section('script-footer') @endsection