Sha256: 26291b245e284ee2fd355326b07a940f7d2fd3a6a83a12db053020ed5245f15e

Contents?: true

Size: 881 Bytes

Versions: 14

Compression:

Stored size: 881 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)
}) %>

<%
  edit_link(
    resource_locator(post).edit,
    :update,
    :blogpost,
    blogpost: post
  )
%>
<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><%= decidim_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

14 entries across 14 versions & 1 rubygems

Version Path
decidim-blogs-0.18.1 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.17.2 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.18.0 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.17.1 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.16.1 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.17.0 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.16.0 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.15.2 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.15.1 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.15.0 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.14.4 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.14.3 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.14.2 app/views/decidim/blogs/posts/show.html.erb
decidim-blogs-0.14.1 app/views/decidim/blogs/posts/show.html.erb