summaryrefslogtreecommitdiff
path: root/app/views/downloads/_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/downloads/_form.html.erb')
-rw-r--r--app/views/downloads/_form.html.erb37
1 files changed, 0 insertions, 37 deletions
diff --git a/app/views/downloads/_form.html.erb b/app/views/downloads/_form.html.erb
deleted file mode 100644
index 1ab1879..0000000
--- a/app/views/downloads/_form.html.erb
+++ /dev/null
@@ -1,37 +0,0 @@
-<%= form_for(@download) do |f| %>
- <% if @download.errors.any? %>
- <div id="error_explanation">
- <h2><%= pluralize(@download.errors.count, "error") %> prohibited this download from being saved:</h2>
-
- <ul>
- <% @download.errors.full_messages.each do |message| %>
- <li><%= message %></li>
- <% end %>
- </ul>
- </div>
- <% end %>
-
- <div class="field">
- <%= f.label :name %><br>
- <%= f.text_field :name %>
- </div>
- <div class="field">
- <%= f.label :filename %><br>
- <%= f.text_field :filename %>
- </div>
- <div class="field">
- <%= f.label :type %><br>
- <%= f.text_field :type %>
- </div>
- <div class="field">
- <%= f.label :description %><br>
- <%= f.text_area :description %>
- </div>
- <div class="field">
- <%= f.label :hits %><br>
- <%= f.number_field :hits %>
- </div>
- <div class="actions">
- <%= f.submit %>
- </div>
-<% end %>