2022-11-06 11:39:52 +01:00
|
|
|
@section("title", "Add a Location")
|
2022-03-05 16:29:58 +01:00
|
|
|
<x-app-layout>
|
|
|
|
<x-slot name="header">
|
|
|
|
{{ __('Insert a new location') }}
|
|
|
|
</x-slot>
|
|
|
|
<div class="container">
|
|
|
|
<x-card class="shadow mt-3">
|
|
|
|
<h4 class="mb-3">Location information</h4>
|
|
|
|
<x-back-button>
|
|
|
|
<x-slot name="href">{{ route('locations.index') }}</x-slot>
|
|
|
|
Go back
|
|
|
|
</x-back-button>
|
2022-10-13 05:36:21 +02:00
|
|
|
<x-response-alerts></x-response-alerts>
|
2022-03-05 16:29:58 +01:00
|
|
|
<form action="{{ route('locations.store') }}" method="POST">
|
|
|
|
@csrf
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-lg-6 mb-4">
|
2022-10-31 04:42:02 +01:00
|
|
|
<x-text-input title="Location" name="location_name"></x-text-input>
|
2022-03-05 16:29:58 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-lg-4">
|
|
|
|
<x-submit-button>Create location</x-submit-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</x-card>
|
|
|
|
</div>
|
|
|
|
</x-app-layout>
|