[WIP] Fix ergonomics rules
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
@if (isset($photos))
|
||||
@include('Hestimmo.modules.LotPhoto.partials.list-photos')
|
||||
@endif
|
||||
|
||||
@include('Hestimmo.modules.LotPhoto.partials.block_photo_new')
|
||||
<div id="append_lot_photo" class="row m-top-8"> </div>
|
||||
|
||||
<button type="button" class="btn btn-primary add-new-lot-photo m-top-8">Ajouter une photo <i class="fa fa-plus"></i></button>
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
function append_lot_photo() {
|
||||
$("#append_lot_photo .file").fileinput();
|
||||
}
|
||||
|
||||
$("#append_lot_photo").appender({
|
||||
rowSection: '.row-new-lot-photo',
|
||||
type: '.row-lot-photo',
|
||||
addBtn: '.add-new-lot-photo',
|
||||
appendEffect: 'slide',
|
||||
addClass: 'animated bounceInLeft',
|
||||
rowNumber: '.row-lot-photo-number',
|
||||
deleteBtn: '.delete-new-lot-photo-btn',
|
||||
callback: append_lot_photo,
|
||||
hideSection: true
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user