@extends('superadmin.layouts.template')
@section('title', 'Editar Persona')
@section('content')
    @include('superadmin.layouts.partials.breadcrumbsaction')
    <div class="page-header position-relative">
        <div class="header-title">
            <h1>Editar Persona</h1>
        </div>
        <div class="header-buttons">
            @include('superadmin.layouts.partials.headerbuttons')
        </div>
    </div>
    <div class="page-body">
        <div class="row">
            <div class="col-md-12">
                {!! Form::model($persona,['route'=>['superadmin.personas.edit', $persona->id], 'class'=>'row', 'autocomplete'=>'off', 'files'=>true]) !!}
                <div class="col-md-12">
                    @include('superadmin.personas.partials.form')
                </div>
                <div class="col-md-12 text-center">
                    <button type="submit" class="btn btn-sky btnSubmitForm">Editar</button>
                    <a href="{{ route('superadmin.personas.index') }}" class="btn btn-danger m-l-5">
                        Cancelar
                    </a>
                </div>
                {!! Form::close() !!}
            </div>
        </div>
    </div>
@endsection