SHARE
TWEET

Untitled

a guest Jan 16th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #category-bg
  2.   #new-image-block
  3.     =link_to(t('categories.show.upload_image'),
  4.              new_category_image_path(@category),
  5.              remote: true,
  6.              class: 'btn btn-sm upload-button')
  7.  
  8.   .container#images-list
  9.     .row
  10.       -@images.each do |image|
  11.         .image.col-6.col-md-4
  12.           =link_to(image_tag(image.picture.url, alt: 'picture', class: 'w-100'),
  13.                    category_image_path(id: image.slug, category_id: image.category.slug))
  14.  
  15.   #paginate-images
  16.     =paginate @images
  17.   =render 'categories/modal' # Modal window(show-link in navbar)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top