mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
+FEATURE: double entry info
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{{ $place := $model.result.Place }}
|
||||
|
||||
<edit-page>
|
||||
<duplicate-warning-checker></duplicate-warning-checker>
|
||||
<div class="flex container-normal bg-slate-100 mx-auto px-8">
|
||||
<div class="flex flex-row w-full justify-between">
|
||||
<div class="flex flex-col justify-end-safe flex-2/5">
|
||||
@@ -115,7 +116,11 @@
|
||||
<div class="inputlabelrow">
|
||||
<label for="name" class="inputlabel">Name</label>
|
||||
</div>
|
||||
<textarea name="name" id="name" class="inputinput no-enter" autocomplete="off" rows="1">{{- $place.Name -}}</textarea>
|
||||
<textarea name="name" id="name" class="inputinput no-enter" autocomplete="off" rows="1" data-duplicate-check data-duplicate-endpoint="/api/places/search" data-duplicate-result-key="places" data-duplicate-current-id="{{ if not $model.is_new }}{{ $place.Id }}{{ end }}">{{- $place.Name -}}</textarea>
|
||||
<div class="duplicate-warning hidden" data-duplicate-warning-for="name">
|
||||
<i class="ri-information-line"></i>
|
||||
<span data-duplicate-count></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="inputwrapper">
|
||||
<div class="inputlabelrow">
|
||||
|
||||
Reference in New Issue
Block a user