diff --git a/app/views/admin/communication/unsplash/_selector.html.erb b/app/views/admin/communication/unsplash/_selector.html.erb index 94de5a2dffdf7f9cd937a2f40fa975593306d2a1..d23320f0c0df855dc2dd4cb94766c3e215d4da81 100644 --- a/app/views/admin/communication/unsplash/_selector.html.erb +++ b/app/views/admin/communication/unsplash/_selector.html.erb @@ -64,13 +64,11 @@ about_featured_image_credit = "##{about_identifier}_featured_image_credit" </div> </div> <div class="d-flex" - :class="page === 1 ? 'justify-content-end' : 'justify-content-between'" - > + :class="page === 1 ? 'justify-content-end' : 'justify-content-between'"> <div href="#" v-if="page > 1" v-on:click="page = page - 1" class="btn btn-secondary">Page précédente</div> - <div href="#" v-if="page < data.total_pages" v-on:click="page = page + 1"