
@extends('layouts.app')
@section('title','Editar Usuario')
@section('content')
<div class="page-header">
    <div class="page-block">
        <div class="row align-items-center">
            <div class="col-md-12">
                <div class="page-header-title">
                    <h5>Editar Usuario</h5>
                </div>
                <ul class="breadcrumb">
                    <li class="breadcrumb-item"><a href="{{ route('home') }}"><i class="feather icon-home"></i></a></li>
                    <li class="breadcrumb-item"><a href="#!">Configuración</a></li>
                    <li class="breadcrumb-item"><a href="#!">Usuarios</a></li>
                    <li class="breadcrumb-item"><a href="#!">Editar Usuario</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-md-12">
        <div class="card">
            <div class="card-header">
                <h5>Datos del Usuario</h5>
            </div>
            <div class="card-body">
                {!! Form::model($user,['route'=>['users.update',$user->id],'method'=>'PUT','class'=>'needs-validation']) !!}
                    @include('admin.users._form',['texto' => 'Actualizar','tipo'=>'2','texto_pass'=>'Cambiar Contraseña','color'=>'success'])
                {!! Form::close() !!}
            </div>
        </div>
    </div>
    
</div>

@endsection
@section('scripts')
<script src="{{ asset('assets/js/pages/users.js') }}" type="text/javascript"></script>
@endsection
