Duplicate upload form removed

This commit is contained in:
Christoph Haas 2015-04-18 23:24:01 +02:00
parent 2f127ec22a
commit bc922af9cb

View file

@ -26,9 +26,9 @@
// Upload image // Upload image
li li
= form_tag(upload_image_path, multipart: true) / = form_tag(upload_image_path, multipart: true)
= file_field_tag('image') / = file_field_tag('image')
= submit_tag / = submit_tag
= form_for :screenshot, url: upload_image_path, html: { multipart: true } do |f| = form_for :screenshot, url: upload_image_path, html: { multipart: true } do |f|
= f.label :image, 'Upload new screenshot' = f.label :image, 'Upload new screenshot'