Sha256: 76855002b1ca57a9850e2f0c6a00f7a1aa213cf8ad15d7af4f69c78f7331f49a
Contents?: true
Size: 1.88 KB
Versions: 1
Compression:
Stored size: 1.88 KB
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 column view-header"> <%= link_to :posts, class: "small hollow" do %> <%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %> <%= t(".back") %> <% end %> <h2 class="heading2"><%= translated_attribute post.title %></h2> <%= cell "decidim/author", present(post.author), from: post %> </div> <div class="row"> <% if show_endorsements_card? %> <div class="columns section view-side mediumlarge-4 mediumlarge-push-8 large-3 large-push-9"> <div class="card"> <div class="card__content"> <div class="row collapse buttons__row"> <% if endorsements_enabled? %> <div class="column small-9 collapse"> <%= endorsement_buttons_cell(post) %> </div> <% end %> <div class="column collapse <%= endorsements_enabled? ? "small-3" : "" %>"> <%= link_to "#comments", class: "button small compact hollow button--nomargin expanded" do %> <%= icon "comment-square", class: "icon--small", aria_label: t(".comments"), role: "img" %> <%= post.comments.count %> <% end %> </div> </div> <br> <%= follow_button_for(post) %> </div> </div> </div> <% end %> <div class="columns mediumlarge-8 mediumlarge-pull-4"> <div class="section"> <%= decidim_sanitize translated_attribute post.body %> </div> <%= cell "decidim/endorsers_list", post %> </div> </div> <%= attachments_for post %> <%= comments_for post %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-blogs-0.22.0 | app/views/decidim/blogs/posts/show.html.erb |