new.html.haml revision 24e0ce1d4adb31179cda93fa612c3df8268bf63b
%h1 Upload file to repository
= simple_form_for @file, url: repository_files_path(repository), html: { class: 'form-horizontal', multipart: true } do |f|
= f.input :path
= f.input :file, as: :file
= f.input :message, as: :text, input_html: { rows: 5 }
= f.submit 'Upload File', class: 'btn btn-primary'