[laravel 5.2]
hello..i need some help as below:
- show upload document list with delete button in edit mode.
please show me as simple as i can follow.
the code is :
_form.blade.php
<div>
@if (Route::currentRouteName() == 'pendaftaran-kontraktor.edit')
<h2>EDIT MODE</h2>
@endif
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label">Salinan CIDB*</label>
<input type="file" class="form-control" placeholder="Nama" name="salinan_cidb[]">
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label">Salinan CIDB*</label>
<input type="file" class="form-control" placeholder="Nama" name="salinan_cidb[]">
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label">Salinan CIDB*</label>
<input type="file" class="form-control" placeholder="Nama" name="salinan_cidb[]">
</div>
</div>```
Aucun commentaire:
Enregistrer un commentaire