diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2015-02-25 18:47:09 -0800 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2015-02-25 18:47:09 -0800 |
commit | 4e94e31aa0acda54ae962840b57ae42ca6e71185 (patch) | |
tree | 19fa5fdc8c3bea56fb93463508a81514acd0f604 /app/views/downloads/show.html.erb | |
parent | f031bdc3e5214c699123830d8cc9f9309b792a68 (diff) |
rails generate scaffold Download
Diffstat (limited to 'app/views/downloads/show.html.erb')
-rw-r--r-- | app/views/downloads/show.html.erb | 29 |
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 %> |