@extends('layouts.app')
@section('title','Editar Usuario')

@section('content')
<div class="page-title-area mb-3">
    <div class="row align-items-center">
        <div class="col-sm-6">
            <div class="breadcrumbs-area clearfix">
                <h4 class="page-title pull-left">Usuarios</h4>
                <ul class="breadcrumbs pull-left">
                    <li><a href="{{ route('home') }}">Seguridad</a></li>
                    <li><span>Editar Usuario</span></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="main-content-inner">
    <div class="row">
        <div class="col-xl-9 col-lg-8">
            <div class="card">
                <div class="card-header">
                    <h4>Modificar Datos del Usuario</h4>
                </div>
                <div class="card-body">
                     {{-- {!! Form::model($user,['route'=>['users.update',$user->id],'method'=>'PUT','class'=>'needs-validation']) !!} --}}
                     <form action="{{ route('users.update', $user->id) }}" method="POST" class="needs-validation" novalidate>
                        @csrf
                        @method('PUT')
                        @include('admin.users._form',['texto' => 'Actualizar','tipo'=>'2','texto_pass'=>'Cambiar Contraseña','color'=>'success'])
                    </form>
                    {{-- {!! Form::close() !!} --}}
                </div>
            </div>
        </div>
    </div>
</div>

@endsection

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



