add new city from frontend

This commit is contained in:
HolgerHatGarKeineNode
2023-02-11 15:07:22 +01:00
parent 8a9d54a68c
commit 1a29cb5233
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<div class="w-full mb-4 md:w-auto md:mb-0" x-data="{currentUrl: window.location.href}">
<a x-bind:href="'http://localhost/city/form/?fromUrl='+currentUrl" target="_blank">
<a x-bind:href="'http://localhost/city/form/?fromUrl='+currentUrl">
<x-button>
<i class="fa fa-thin fa-plus"></i>
{{ __('New City') }}

View File

@@ -4,7 +4,7 @@
<h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('City') }}</h3>
<div class="flex flex-row space-x-2 items-center">
<div>
<x-button :href="route('welcome')">
<x-button :href="$fromUrl">
<i class="fa fa-thin fa-arrow-left"></i>
{{ __('Back') }}
</x-button>