Sha256: fea2ac318f2b428aae18af795b26458144b4736f65a65667180f79b445f56553

Contents?: true

Size: 625 Bytes

Versions: 4

Compression:

Stored size: 625 Bytes

Contents

<h1>Content elements for <%= @post.title %></h1>

<div class="pulitzer-row margin-bottom list-item">
  <%= link_back_to_posts(@post.post_type, "Back to #{@post.post_type.name.singularize} Posts", 'Back to post types') %>
</div>

<div class="pulitzer-row margin-bottom list-item">
  <h2>Tags</h2>

  <% Pulitzer::Post::TAG_MODELS.each do |tag_model| %>
    <%= render partial: 'pulitzer/post_tags/show_wrapper', locals: { post: @post, tag_model: tag_model } %>
  <% end %>

</div>

<% @content_elements.each do |content_element| %>
  <%= render partial: 'show_wrapper', locals: {content_element: content_element} %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pulitzer-0.1.1 app/views/pulitzer/content_elements/index.html.erb
pulitzer-0.1.0 app/views/pulitzer/content_elements/index.html.erb
pulitzer-0.0.5 app/views/pulitzer/content_elements/index.html.erb
pulitzer-0.0.4 app/views/pulitzer/content_elements/index.html.erb