Sha256: bcf41977c7bdd2651d6f19ce36e7a6365db24fdbe7235cbbbe39de3fe5e0d6be

Contents?: true

Size: 782 Bytes

Versions: 8

Compression:

Stored size: 782 Bytes

Contents

<div class="article small">
<% cache "#{article_small}_small" do %>
  <div class="hero_image">
    <%= link_to article_path(article_small), { style: "background-image:url('#{article_small.image_url}')" } do %>
      <img src="<%= article_small.image_url %>" alt="<%= article_small.title %>" />
    <% end %>
  </div>

  <div class="article_header">
    <h1><%= link_to article_small.title, article_path(article_small) %></h1>
    <h2><%= article_small.sub_title %></h2>
    <div class="author_name"><span>by</span> <%= display_article_authors(article_small) %></div>
  </div>

  <div class="article_teaser">
    <%= render_teaser(article_small) %>
    <div class="more-link">
      <%= link_to "Read full article", article_path(article_small) %>
    </div>
  </div>
<% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lines-engine-0.6.2 app/views/lines/articles/_article_small.html.erb
lines-engine-0.6.1 app/views/lines/articles/_article_small.html.erb
lines-engine-0.6 app/views/lines/articles/_article_small.html.erb
lines-engine-0.5 app/views/lines/articles/_article_small.html.erb
lines-engine-0.4.6.4 app/views/lines/articles/_article_small.html.erb
lines-engine-0.4.6.3 app/views/lines/articles/_article_small.html.erb
lines-engine-0.4.6.1 app/views/lines/articles/_article_small.html.erb
lines-engine-0.4.6 app/views/lines/articles/_article_small.html.erb