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:
Ciro Santilli 2014-10-03 00:26:56 +02:00
parent e261de255d
commit d584c406e8
1 changed files with 2 additions and 2 deletions

View File

@ -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)