Sha256: 107671e8debbc80f34eb5f0f8e6accd4c64e88548a3ca2a4a2f3bbe9e4fa86a5

Contents?: true

Size: 592 Bytes

Versions: 6

Compression:

Stored size: 592 Bytes

Contents

<h1><%= @post.title %></h1>

<% if @post.image %>
  <%= attachment_image_tag(@post, :image) %>
<% end %>

<% if @post.document %>
  <%= link_to "Document", attachment_url(@post, :document) %>

  <p class="content-type"><%= @post.document_content_type %></p>
  <p class="size"><%= @post.document_size %></p>
  <p class="filename"><%= @post.document_filename %></p>

  <%= link_to "Convert to Upper", attachment_url(@post, :document, :convert_case, format: "up") %>
<% end %>

<%= link_to "Edit", edit_normal_post_url(@post) %>

<%= link_to "Delete", normal_post_url(@post), method: :delete %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refile-0.5.5 spec/refile/test_app/app/views/normal_posts/show.html.erb
refile-0.5.4 spec/refile/test_app/app/views/normal_posts/show.html.erb
refile-0.5.3 spec/refile/test_app/app/views/normal_posts/show.html.erb
refile-0.5.2 spec/refile/test_app/app/views/normal_posts/show.html.erb
refile-0.5.1 spec/refile/test_app/app/views/normal_posts/show.html.erb
refile-0.5.0 spec/refile/test_app/app/views/normal_posts/show.html.erb