class Interview::ImageLightBox
Public Instance Methods
build(b)
click to toggle source
# File lib/interview/controls/image_light_box.rb, line 4 def build(b) b.section html_class: 'blueimp-gallery', html_options: { id: 'blueimp-gallery' } do b.section html_class: 'slides' b.section style: 'h3', html_class: 'title' b.text text: '‹', style: 'a', html_class: 'prev' b.text text: '›', style: 'a', html_class: 'next' b.text text: '×', style: 'a', html_class: 'close' b.text style: 'a', html_class: 'play-pause' b.section style: 'ol', html_class: 'indicator' end end