2015-09-10 10:18:40 -04:00
|
|
|
|
#modal-upload-blob.modal
|
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
2016-12-26 05:47:16 -05:00
|
|
|
|
%a.close{ href: "#", "data-dismiss" => "modal" } ×
|
2017-01-13 11:07:21 -05:00
|
|
|
|
%h3.page-title= title
|
2015-09-10 10:18:40 -04:00
|
|
|
|
.modal-body
|
2017-03-07 19:04:20 -05:00
|
|
|
|
= form_tag form_path, method: method, class: 'js-quick-submit js-upload-blob-form form-horizontal', data: { method: method } do
|
2015-09-10 10:18:40 -04:00
|
|
|
|
.dropzone
|
2015-09-15 08:56:42 -04:00
|
|
|
|
.dropzone-previews.blob-upload-dropzone-previews
|
|
|
|
|
%p.dz-message.light
|
2015-09-15 09:31:33 -04:00
|
|
|
|
Attach a file by drag & drop or
|
2015-09-15 08:56:42 -04:00
|
|
|
|
= link_to 'click to upload', '#', class: "markdown-selector"
|
2015-09-10 10:18:40 -04:00
|
|
|
|
%br
|
2016-12-26 05:47:16 -05:00
|
|
|
|
.dropzone-alerts.alert.alert-danger.data{ style: "display:none" }
|
2015-11-17 12:53:56 -05:00
|
|
|
|
|
|
|
|
|
= render 'shared/new_commit_form', placeholder: placeholder
|
|
|
|
|
|
2015-12-02 08:34:20 -05:00
|
|
|
|
.form-actions
|
|
|
|
|
= button_tag button_title, class: 'btn btn-small btn-create btn-upload-file', id: 'submit-all'
|
|
|
|
|
= link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"
|
2015-09-10 10:18:40 -04:00
|
|
|
|
|
2015-12-18 04:03:34 -05:00
|
|
|
|
- unless can?(current_user, :push_code, @project)
|
|
|
|
|
.inline.prepend-left-10
|
|
|
|
|
= commit_in_fork_help
|
|
|
|
|
|
2017-03-07 19:04:20 -05:00
|
|
|
|
- content_for :page_specific_javascripts do
|
|
|
|
|
= page_specific_javascript_bundle_tag('blob')
|