Improve wording for header and placeholders
This commit is contained in:
parent
e14aa19e39
commit
0a8ef29b3d
3 changed files with 7 additions and 7 deletions
|
@ -12,12 +12,12 @@
|
|||
.dropzone
|
||||
.dropzone-previews.blob-upload-dropzone-previews
|
||||
%p.dz-message.light
|
||||
Attach files by dragging & dropping or
|
||||
Attach a file by drag & drop or
|
||||
= link_to 'click to upload', '#', class: "markdown-selector"
|
||||
%br
|
||||
.dropzone-alerts{class: "alert alert-danger data", "data-dismiss" => "alert", style: "display:none"}
|
||||
= render 'shared/commit_message_container', params: params,
|
||||
placeholder: 'Replace this file because...'
|
||||
placeholder: 'Replace file'
|
||||
.form-group
|
||||
.col-sm-offset-2.col-sm-10
|
||||
= button_tag 'Replace file', class: 'btn btn-small btn-primary btn-replace-file', id: 'submit-all'
|
||||
|
|
|
@ -12,13 +12,12 @@
|
|||
.dropzone
|
||||
.dropzone-previews.blob-upload-dropzone-previews
|
||||
%p.dz-message.light
|
||||
Attach files by dragging & dropping or
|
||||
Attach a file by drag & drop or
|
||||
= link_to 'click to upload', '#', class: "markdown-selector"
|
||||
|
||||
%br
|
||||
.dropzone-alerts{class: "alert alert-danger data", "data-dismiss" => "alert", style: "display:none"}
|
||||
= render 'shared/commit_message_container', params: params,
|
||||
placeholder: 'Upload this file because...'
|
||||
placeholder: 'Upload new file'
|
||||
.form-group
|
||||
.col-sm-offset-2.col-sm-10
|
||||
= button_tag 'Upload file', class: 'btn btn-small btn-primary btn-upload-file', id: 'submit-all'
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
.gray-content-block.top-block
|
||||
Create new file or
|
||||
= link_to 'upload existing one', '#modal-upload-blob',
|
||||
Create a new file or
|
||||
= link_to 'upload', '#modal-upload-blob',
|
||||
{ class: 'upload-link', 'data-target' => '#modal-upload-blob', 'data-toggle' => 'modal'}
|
||||
an existing one
|
||||
|
||||
= render 'projects/blob/upload'
|
||||
|
||||
|
|
Loading…
Reference in a new issue