new.html.haml revision 6f8cf80de7bef698279a19bd5063c954743f3444
%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, label: 'Target Directory'
= f.input :file, as: :file
= f.input :message, as: :text, input_html: { rows: 5 }
= f.submit 'Upload File', class: 'btn btn-primary'