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 %>