Sha256: d873da68d9f7276cbc01a2eaf1ca2a57b7a30e63782cddd61875a76f30985318

Contents?: true

Size: 1.37 KB

Versions: 3

Compression:

Stored size: 1.37 KB

Contents

<%= row do %>
  <%= span(12) do %>
      <section>
        <h1 class="section-title">
          <%= @line.title %>
        </h1>
      </section>
      
      <% if @line.products.any? %>
      
      <section class="clearfix shelf-wrapper" data-offset-top="20">
        <div class="shelf">
          <ul class="hl clearfix">
            <% @line.products.order('position').each do |product| %>
              <li class="can">
                <%= link_to "##{product.slug}", :title => product.title, :rel => 'tooltip' do %>
                  <%= image_tag product.can.url %>
                <% end %>
              </li>
            <% end %>
          </ul>
          
        </div>
        
      </section>
      
      <% end %>
      <section>
        <div>
          <%= raw @line.text %>
        </div>
      </section>
  <% end %>
<% end %>

<% if @line.products.any? %>
<ul class="unstyled index">
        <% @line.products.order('position').each do |product| %>
  
          <li id="<%= product.slug %>" class="index-item">
              <%= index_item(
              :title => product.title,
              :excerpt => product.excerpt, 
              :link_url => page_path_for(product), 
              :link_label => t('continue_reading', :scope => 'site', :default => "Continue Reading"), 
              :image => product.index_photo.url) %>
          </li>
  
        <% end %>
</ul>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fullstack-cms-0.2.24 lib/generators/fullstack/cms/templates/rails/app/views/site/site/line.html.erb
fullstack-cms-0.2.23 lib/generators/fullstack/cms/templates/rails/app/views/site/site/line.html.erb
fullstack-cms-0.2.22 lib/generators/fullstack/cms/templates/rails/app/views/site/site/line.html.erb