Move new blob commit message textarea below editor
- match edit blob view - you enter the commit message *after* you make the modifications
This commit is contained in:
parent
e261de255d
commit
d584c406e8
|
@ -19,14 +19,14 @@
|
|||
Encoding
|
||||
.col-sm-10
|
||||
= select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'form-control'
|
||||
= render 'shared/commit_message_container', params: params,
|
||||
placeholder: 'Add new file'
|
||||
.file-holder
|
||||
.file-title
|
||||
%i.fa.fa-file
|
||||
.file-content.code
|
||||
%pre#editor= params[:content]
|
||||
|
||||
= render 'shared/commit_message_container', params: params,
|
||||
placeholder: 'Add new file'
|
||||
= hidden_field_tag 'content', '', id: 'file-content'
|
||||
= render 'projects/commit_button', ref: @ref,
|
||||
cancel_path: project_tree_path(@project, @id)
|
||||
|
|
Loading…
Reference in New Issue