update form foto
This commit is contained in:
@@ -175,10 +175,7 @@
|
||||
</div>
|
||||
@endforeach
|
||||
@else
|
||||
{{-- <img id="foto_rute-preview"
|
||||
src="{{ asset('storage/' . (isset($forminspeksi['foto_rute[]']) ? $forminspeksi['foto_rute[]'] : '')) }}"
|
||||
alt="Foto Argis Region" class="mt-2 max-w-full h-auto"
|
||||
style="{{ isset($forminspeksi['foto_rute']) ? '' : 'display: none;' }}"> --}}
|
||||
|
||||
|
||||
<div id="inputContainerRute" style="margin-top: 10px">
|
||||
<div class="flex w-full items-center justify-center gap-4 mb-4">
|
||||
@@ -188,8 +185,8 @@
|
||||
|
||||
<div class="input-group w-full flex gap-2">
|
||||
<input class="name_rute" type="hidden" name="name_rute[]" value="rute">
|
||||
<img id="foto_rute-preview" src="" alt="Foto Argis Region"
|
||||
class="mt-2 max-w-full h-auto" style="display: none;">
|
||||
{{-- <img id="foto_rute-preview" src="" alt="Foto Argis Region"
|
||||
class="mt-2 max-w-full h-auto" style="display: none;"> --}}
|
||||
<input id="inputRute" type="file" name="foto_rute[]"
|
||||
class="file-input file-input-bordered w-full" accept="image/*" capture="camera"
|
||||
onchange="previewImage(this, 'foto_rute-preview')">
|
||||
@@ -220,9 +217,9 @@
|
||||
</label>
|
||||
|
||||
<div class="input-group w-full flex gap-2">
|
||||
<input class="name_gerbang" type="hidden" name="foto_gerbang" value="rute">
|
||||
<img id="foto_gerbang-preview" src="" alt="Foto Gerbong"
|
||||
class="mt-2 max-w-full h-auto" style="display: none;">
|
||||
<input class="name_gerbang" type="hidden" name="name_gerbang" value="rute">
|
||||
{{-- <img id="foto_gerbang-preview" src="" alt="Foto Gerbong"
|
||||
class="mt-2 max-w-full h-auto" style="display: none;"> --}}
|
||||
<input id="inputRute" type="file" name="foto_gerbang"
|
||||
class="file-input file-input-bordered w-full" accept="image/*" capture="camera"
|
||||
onchange="previewImage(this, 'foto_gerbang-preview')">
|
||||
@@ -394,8 +391,8 @@
|
||||
<span class="form-label">Basement</span>
|
||||
</label>
|
||||
<div class="input-group w-full flex gap-2">
|
||||
<input type="hidden" name="name_lantai_unit[]" value="lantai">
|
||||
<input id="inputLantai" type="file" name="foto_lantai_unit[]"
|
||||
<input type="hidden" name="name_basement" value="basement">
|
||||
<input id="inputLantai" type="file" name="foto_basement"
|
||||
class="file-input file-input-bordered w-full" accept="image/*" capture="camera">
|
||||
<button type="button" id="btnCamera" class="btn btn-light"
|
||||
data-modal-toggle="#cameraModal">
|
||||
@@ -759,7 +756,7 @@
|
||||
<div class="flex flex-wrap items-baseline w-full">
|
||||
<div class="flex flex-col lg:flex-row gap-2 w-full">
|
||||
<div class="flex flex-wrap items-baseline px-2">
|
||||
<input class="input" type="text" name="${inputName}[]">
|
||||
<input class="input" type="text" name="name_${inputName}[]">
|
||||
</div>
|
||||
<div class="flex flex-wrap items-baseline w-full">
|
||||
<div class="input-group w-full flex gap-2">
|
||||
|
||||
Reference in New Issue
Block a user