Sha256: 2691f5cca4d5b0225739a71ca6bb1f88bcaca2f8fc414ca935009e7234491992
Contents?: true
Size: 744 Bytes
Versions: 4
Compression:
Stored size: 744 Bytes
Contents
- page.page_blocks.order(:order).each do |block| %div.page_block{ id: block.div_id } %h2 = block.name unless block.name.blank? - block.thumbnails.each do |thumb| %div.thumbnail.col-md-4.col-sm-6 - if thumb.image = image_tag thumb.image.file - else = image_tag '/images/1434315758_my_name.jpg' %h4 = link_to raw(thumb.content), thumb.link - block.jumbotrons.each do |jumbo| %div.jumbotron %p = raw jumbo.content - unless jumbo.link.nil? = link_to(PagesCms::Page.find_by_slug(jumbo.link).title, slugged_path(jumbo.link), class: 'btn btn-primary') - block.text_boxes.each do |box| %p = raw box.content
Version data entries
4 entries across 4 versions & 1 rubygems