@extends('backend.layout.app') @section('sub_header') @component('backend.layout.components.sub-header') @slot('title') {{ $title }} @endslot {{ __('main.locations') }} {{ __('main.add') }} {{ __('main.location') }} @slot('toolbar')
  • {{ __('main.show-all') }} {{ __('main.locations') }}
  • @endslot @endcomponent @endsection @section('content') @component('backend.layout.components.form-portlet') @slot('title') {{ $title }} @endslot @slot('prevUrl') {{ url()->previous() }} @endslot @slot('vueEvents') @click="send()" @endslot @slot('actions') @endslot
    @include('backend.locations._partials._fields', [ 'data' => collect(old()), 'action' => 'create', ])
    @endcomponent @endsection @section('js_scripts') @include('backend.locations._partials._scripts', [ 'action' => 'create', 'data' => collect(old()), 'submitUrl' => route('admin.locations.store'), ]) @endsection