Sha256: bc5faf3e75a033bb97a5711d4b191533db11c92ed1b127922aa65556a0f5d465

Contents?: true

Size: 767 Bytes

Versions: 1

Compression:

Stored size: 767 Bytes

Contents

<% provide(:title, translated_attribute(post.title)) %>

<% add_decidim_meta_tags({
  title: translated_attribute(post.title),
  description: translated_attribute(post.body),
  url: post_url(post.id)
}) %>
<div class="row">
  <div class="columns medium-7 mediumlarge-8">
    <div class="row column view-header">
      <h2 class="heading2"><%= translated_attribute post.title %></h2>
      <%= cell "decidim/author", present(post.author), from: post %>
    </div>
    <div class="section">
      <p><%= sanitize translated_attribute post.body %></p>
    </div>
  </div>
  <div id="most-commented" class="columns medium-5 mediumlarge-4 large-4">
    <%= render partial: "sidebar_blog", locals: {posts: posts_most_commented} %>
  </div>
</div>

<%= comments_for post %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-blogs-0.12.0.pre app/views/decidim/blogs/posts/show.html.erb