VRFS-2782 : Multiple bitrates in admin UI.

This commit is contained in:
Steven Miers 2015-02-26 17:01:53 -06:00
parent e6c49a18b2
commit 81f288f4f7
1 changed files with 7 additions and 1 deletions

View File

@ -12,10 +12,16 @@
i
| before you can upload, you must select 'Update JamTrack'
- else
= f.input :url, :as => :file, :label => 'Track file'
= f.input :url_48, :as => :file, :label => 'Track file (48kHz)'
- unless f.object.nil? || f.object[:url].nil?
.current_file_holder style='margin-bottom:10px'
a href=f.object.sign_url(3600) style='padding:0 0 0 20px'
| Download
= f.input :url_44, :as => :file, :label => 'Track file (44kHz)'
- unless f.object.nil? || f.object[:url].nil?
.current_file_holder style='margin-bottom:10px'
a href=f.object.sign_url(3600, 44) style='padding:0 0 0 20px'
| Download
= link_to_remove_association "Delete Track", f, class: 'button', style: 'margin-left:10px'