@extends('layouts.app')
@section('content')
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-12 col-lg-12 col-sm-12 ">
            <?php//dd($data); ?>
             
            <div class="card">
                <div class="card-header">Editar Categoria</div>
              
                <div class="card-body p-30">
                    {!! BootForm::open()->action(route('backend.categories.form.update'))->post() !!}
                    {!! BootForm::hidden('id')->value($data['id']) !!}
                    {!! BootForm::text('Nombre de la Categoria', 'name')->value($data['name']) !!}

                    <br/>
                    <div class="col-md-8 col-lg-8 offset-md-3 offset-lg-3">
                        <div class="row justify-content-center">
                     <div class="col-md-6 col-lg-6 ">
                   {!! BootForm::submit('Actualizar')->addClass('btn btn-sm btn-primary') !!}
                    </div>
                    <div class="col-md-6 col-lg-6">
                  
                      <a href="{!! route('backend.categories.index')!!}" title="Editar {!! $data['name'] !!}" class="btn btn-sm btn-danger item-url-verify">Cancelar</a>
                    </div>
                </div>
                    </div>
                    {!! BootForm::close() !!}
                </div>
               
            </div>
          
        </div>
    </div>
</div>
@endsection
@section('scripts') 
 
@endsection
