Sha256: 39e717fbe6a6dd437500d666f8cafb8f88a65199c3d08d10e58d49ad1c0fb6e3

Contents?: true

Size: 377 Bytes

Versions: 6

Compression:

Stored size: 377 Bytes

Contents

<article>
  <%= content_tag(:h2, post.title) %>
  <div class="markdown">
    <h4>Markdown:</h4>
    <%= content_tag(:pre, post.markdown) %>
  </div>
  <div class="body">
    <h4>Body:</h4>
    <%= post.body.html_safe if post.body.present? %>
  </div>
  <%= link_to 'Edit', edit_post_path(post) %>
  <%= link_to 'Delete', post_path(post), :method => :delete %>
  <hr>
</article>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mark_it_zero-0.3.2 test/dummy/app/views/posts/_post.html.erb
mark_it_zero-0.3.1 test/dummy/app/views/posts/_post.html.erb
mark_it_zero-0.3.0 test/dummy/app/views/posts/_post.html.erb
mark_it_zero-0.2.0 test/dummy/app/views/posts/_post.html.erb
mark_it_zero-0.1.1 test/dummy/app/views/posts/_post.html.erb
mark_it_zero-0.1.0 test/dummy/app/views/posts/_post.html.erb