summaryrefslogtreecommitdiff
path: root/app/views/assets/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/assets/new.html.erb')
-rw-r--r--app/views/assets/new.html.erb17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/assets/new.html.erb b/app/views/assets/new.html.erb
new file mode 100644
index 00000000..366488f4
--- /dev/null
+++ b/app/views/assets/new.html.erb
@@ -0,0 +1,17 @@
1<h1>New asset</h1>
2
3<% form_for(@asset, :html => { :multipart => true }) do |f| %>
4 <%= f.error_messages %>
5
6 <p>
7 <%= f.label :name %><br />
8 <%= f.text_field :name %>
9 </p>
10
11 <p>
12 <%= f.file_field :upload %>
13 <%= f.submit 'Create' %>
14 </p>
15<% end %>
16
17<%= link_to 'Back', assets_path %> \ No newline at end of file