@extends('Dashboard::layouts.dashboard')
@section('content')
<div class="d-sm-flex align-items-center justify-content-between mb-4">

    <div>
        <a href="{{ route('admin.crud', ['tablename' => $tablename]) }}" class="d-none d-sm-inline-block btn btn-sm btn-warning shadow-sm">
            <i class="fas fa-step-backward fa-sm text-white-50"></i>
            Volver Atrass
        </a>
    </div>
</div>
<x-dashboard-messages/>
<crud-form
    form-name="Añadir"
    url-data="{{ route('admin.crud.data', ['tablename' => $tablename]) }}"
    url-back="{{ route('admin.crud', ['tablename' => $tablename]) }}"
    url-action="{{ route('admin.crud.store', ['tablename' => $tablename]) }}"
></crud-form>
@endsection
