Sha256: 95e4e123f50bb53ce01ef79d0c1f3f862836213988786731cdd2c45385ee643a

Contents?: true

Size: 716 Bytes

Versions: 17

Compression:

Stored size: 716 Bytes

Contents

<% content_for :header do %>
  <%= content_tag :h2, post.title %>
  <%= content_tag :time, l(post.published_at.to_date, format: :long) %>

  <% if signed_in? %>
    <div class='admin'>
    </div>
  <% end %>
<% end %>

<section class="content">
  <%= @post.content.html_safe %>

  <% if @suggestions.count > 1 %>
    <%= render 'suggestions', posts: @suggestions %>
  <% end %>
</section>

<aside>
  <section class='ecrire'>
    <h3 class='logo'>Ecrire</h3>
    <p>The sidebar is usually where you want to store information about yourself.</p>
  </section>

  <section class='mailing list'>
    <h3>Mailing list</h3>
    <p>You could also add a mailing list form so visitors can subscribe.</p>
  </section>
</aside>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ecrire-0.31.2 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.31.1 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.31.0 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.30.3 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.30.2 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.30.1 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.30.0 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.29.0 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.28.3 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.28.2 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.28.1 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.28.0 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.27.0 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.26.3 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.26.2 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.26.1 lib/ecrire/theme/template/views/posts/show.html.erb
ecrire-0.26.0 lib/ecrire/theme/template/views/posts/show.html.erb