diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-27 00:41:17 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-02 12:03:30 +0200 |
commit | 3098e7a453c84ac4df1686b8bad6ef8004aca60d (patch) | |
tree | 3ad7bc927d6d18fd74e68a92bb5c935376b43560 /app/views/projects/blob | |
parent | b0349915e2615617aff9c5291f7e305d59ea3992 (diff) | |
download | gitlab-ce-3098e7a453c84ac4df1686b8bad6ef8004aca60d.tar.gz |
Factor commit message textareas.
Diffstat (limited to 'app/views/projects/blob')
-rw-r--r-- | app/views/projects/blob/_remove.html.haml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/views/projects/blob/_remove.html.haml b/app/views/projects/blob/_remove.html.haml index 93ffd4463b1..da84dc4b6cf 100644 --- a/app/views/projects/blob/_remove.html.haml +++ b/app/views/projects/blob/_remove.html.haml @@ -10,12 +10,8 @@ .modal-body = form_tag project_blob_path(@project, @id), method: :delete, class: 'form-horizontal' do - .form-group.commit_message-group - = label_tag 'commit_message', class: "control-label" do - Commit message - .col-sm-10 - = render 'shared/commit_message_container', {textarea: text_area_tag('commit_message', - params[:commit_message], placeholder: "Removed this file because...", required: true, rows: 3, class: 'form-control')} + = render 'shared/commit_message_container', params: params, + placeholder: 'Removed this file because...' .form-group .col-sm-2 .col-sm-10 |