diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-03 00:26:56 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-13 20:54:33 +0200 |
commit | d584c406e8a687ee0f15cc0ed67ae9001784b1d3 (patch) | |
tree | 8d690c58bcffdaa5ac0445cad070b950847c5d89 /app | |
parent | e261de255dfff71f5acc7d33f339a30a3cb32ab9 (diff) | |
download | gitlab-ce-d584c406e8a687ee0f15cc0ed67ae9001784b1d3.tar.gz |
Move new blob commit message textarea below editor
- match edit blob view
- you enter the commit message *after* you make the modifications
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/new_tree/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/new_tree/show.html.haml b/app/views/projects/new_tree/show.html.haml index c47c0a3f642..f09d3659774 100644 --- a/app/views/projects/new_tree/show.html.haml +++ b/app/views/projects/new_tree/show.html.haml @@ -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) |