update print out
This commit is contained in:
@@ -386,14 +386,15 @@
|
||||
<div id="inputContainerLantai" class="w-full">
|
||||
<div class="flex w-full items-center justify-center gap-4">
|
||||
<label class="form-label max-w-56">
|
||||
<span class="form-label">Foto Lantai 1</span>
|
||||
<span class="form-label">Foto Lantai {{ $loop->iteration }}</span>
|
||||
</label>
|
||||
<div class="input-group w-full grid gap-5">
|
||||
<div class="preview-container">
|
||||
<img id="foto_lantai-preview"
|
||||
<img id="foto_lantai-preview-{{ $loop->index }}"
|
||||
src="{{ asset('storage/' . old('foto_lantai_unit', $item['foto_lantai_unit'])) }}"
|
||||
alt="Foto Rute" class="mt-2 h-auto"
|
||||
style="display: none; width: 30rem;">
|
||||
alt="Foto Lantai" class="mt-2 h-auto"
|
||||
style="{{ old('foto_lantai_unit', $item['foto_lantai_unit']) ? 'display: block;' : 'display: none;' }} width: 30rem;">
|
||||
|
||||
</div>
|
||||
<input type="hidden" name="name_lantai_unit[]" value="lantai">
|
||||
<input id="inputLantai" type="file" name="foto_lantai_unit[]"
|
||||
@@ -417,8 +418,11 @@
|
||||
<div class="input-group w-full flex gap-2">
|
||||
<input type="hidden" name="name_lantai_unit[]" value="lantai">
|
||||
<div class="preview-container">
|
||||
<img id="foto_lantai-preview" src="" alt="Foto Rute"
|
||||
class="mt-2 h-auto" style="display: none; width: 30rem;">
|
||||
<img id="foto_lantai-preview-{{ $loop->index }}"
|
||||
src="{{ asset('storage/' . old('foto_lantai_unit', $item['foto_lantai_unit'])) }}"
|
||||
alt="Foto Lantai" class="mt-2 h-auto"
|
||||
style="{{ old('foto_lantai_unit', $item['foto_lantai_unit']) ? 'display: block;' : 'display: none;' }} width: 30rem;">
|
||||
|
||||
</div>
|
||||
<input id="inputLantai" type="file" name="foto_lantai_unit[]"
|
||||
class="file-input file-input-bordered w-full" accept="image/*"
|
||||
|
||||
Reference in New Issue
Block a user