Sha256: f675ca2dd6664f526aba4326b2a6bea64a42d9a06d473a5708a7582fa2125023

Contents?: true

Size: 912 Bytes

Versions: 3

Compression:

Stored size: 912 Bytes

Contents

<%= row do %>
  <%= span(12) do %>
      <section>
        <h1 class="section-title">
          <%= @dish.title %>
        </h1>
      </section>
  <% end %>
<% end %>


<%= row do %>
  
 <%= span(12) do %>
   
   
 <% if @dish.recipes.any? %>
   <ul class="unstyled index">
           <% @dish.recipes.order(:title).each do |recipe| %>
  
             <li id="<%= recipe.slug %>" class="index-item">
                 <%= index_item(
                 :title => recipe.title,
                 :excerpt => recipe.excerpt, 
                 :link_url => page_path_for(recipe),
                 :time => recipe.time,
                 :difficulty => recipe.difficulty,
                 :link_label => t('continue_reading', :scope => 'site', :default => "Continue Reading"), 
                 :image => recipe.image.url) %>
             </li>
  
           <% end %>
   </ul>
   <% end %>
   
   
 <% end %>
<% 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/dish.html.erb
fullstack-cms-0.2.23 lib/generators/fullstack/cms/templates/rails/app/views/site/site/dish.html.erb
fullstack-cms-0.2.22 lib/generators/fullstack/cms/templates/rails/app/views/site/site/dish.html.erb