Sha256: 61295d423c5a1b905ba9c39f4ee2786b51220f4ee7c5bf189e2a40070961dfbb

Contents?: true

Size: 517 Bytes

Versions: 3

Compression:

Stored size: 517 Bytes

Contents

<div class="post bordered">
  <div class="title">
    <h1>
      <%= link_to post.title, post_path(post.id) %>
    </h1>

    <%= authorized_links admin_link_separator,
                         [:edit_post, 'Edit', edit_post_path(post.id)],
                         [:destroy_post, 'Destroy', post.id, {:confirm => 'Are you sure?', :method => :delete}] %>
  </div>

  <%= yield :subcaption %>

  <% if preview %>
    <%= post.content_as_html_preview %>
  <% else %>
    <%= post.content_as_html %>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mist-0.6.2 app/views/mist/posts/_post.html.erb
mist-0.6.1 app/views/mist/posts/_post.html.erb
mist-0.6.0 app/views/mist/posts/_post.html.erb