Add track/{new,create} with file upload for the track
This commit is contained in:
6
app/views/tracks/new.html.haml
Normal file
6
app/views/tracks/new.html.haml
Normal file
@@ -0,0 +1,6 @@
|
||||
= form_for @track, :html => { :multipart => true } do |t|
|
||||
= t.label :name
|
||||
= t.text_field :name
|
||||
= t.label :file
|
||||
= t.file_field :file
|
||||
= t.submit 'Upload'
|
Reference in New Issue
Block a user