From 1757cba4aa08f490aee3b287377bf13cbf75086f Mon Sep 17 00:00:00 2001
From: r888888888
Date: Thu, 13 Jun 2013 13:34:06 -0700
Subject: [PATCH] style fix
---
app/views/uploads/show.html.erb | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/app/views/uploads/show.html.erb b/app/views/uploads/show.html.erb
index 9d5ce9528..71f0f90bf 100644
--- a/app/views/uploads/show.html.erb
+++ b/app/views/uploads/show.html.erb
@@ -15,12 +15,12 @@
<% elsif @upload.is_duplicate? %>
This upload is a duplicate: <%= link_to "post ##{@upload.duplicate_post_id}", post_path(@upload.duplicate_post_id) %>
<% else %>
-
- An error occurred: <%= @upload.status %>.
- <% if @upload.is_downloadable? %>
- <%= link_to "Retry", upload_path(@upload), :method => :put %>
+
An error occurred: <%= @upload.status %>
+ <% if @upload.is_downloadable? %>
+ <%= form_tag(upload_path(@upload), :method => :put) do %>
+ <% submit_tag "Retry" %>
<% end %>
-
+ <% end %>
<% end %>