Naming Gallery Items
This commit is contained in:
parent
c0547d9594
commit
30e0c77f84
2 changed files with 310 additions and 2 deletions
|
|
@ -18,14 +18,16 @@
|
|||
|
||||
@if(Auth::user()->role=="ADMIN")
|
||||
<p>
|
||||
<a id="edit_{{$tour_id}}_{{$img_tpl[0]}}" href="#"><label style="display:inline;">🖊</label></a>
|
||||
<a id="edit_{{$tour_id}}_{{$img_tpl[0]}}" href="#"
|
||||
onclick="document.getElementById('input_new_name_{{$tour_id}}_{{$img_tpl[0]}}').setAttribute('style','display: inline;');"
|
||||
><label style="display:inline;">🖊</label></a>
|
||||
|
||||
<form style="display:inline;background-color: #fff;" class="text-dark" method="post"
|
||||
action="/tour/gallery/{{$tour_id}}/name_image/{{$img_tpl[0]}}.jpg" enctype="multipart/form-data">
|
||||
@csrf
|
||||
@method('PUT')
|
||||
<input type="hidden" name="tour_id" value="{{ $tour_id }}">
|
||||
<input type="text" name="new_image_name" value="" >
|
||||
<input id="input_new_name_{{$tour_id}}_{{$img_tpl[0]}}" style="display:none;" type="text" name="new_image_name" value="{{$img_tpl[1]}}" >
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
|||
306
tools/motorradig_2023-11-18_085437.sql
Normal file
306
tools/motorradig_2023-11-18_085437.sql
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue