summaryrefslogtreecommitdiff
path: root/app/views/downloads/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/downloads/show.html.erb')
-rw-r--r--app/views/downloads/show.html.erb29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/views/downloads/show.html.erb b/app/views/downloads/show.html.erb
new file mode 100644
index 0000000..276888a
--- /dev/null
+++ b/app/views/downloads/show.html.erb
@@ -0,0 +1,29 @@
+<p id="notice"><%= notice %></p>
+
+<p>
+ <strong>Name:</strong>
+ <%= @download.name %>
+</p>
+
+<p>
+ <strong>Filename:</strong>
+ <%= @download.filename %>
+</p>
+
+<p>
+ <strong>Type:</strong>
+ <%= @download.type %>
+</p>
+
+<p>
+ <strong>Description:</strong>
+ <%= @download.description %>
+</p>
+
+<p>
+ <strong>Hits:</strong>
+ <%= @download.hits %>
+</p>
+
+<%= link_to 'Edit', edit_download_path(@download) %> |
+<%= link_to 'Back', downloads_path %>