Commit 70f705887ad52152100e45d398a5f0d330ddc5bb

Authored by Dmitriy Zaporozhets
1 parent ac6c0507

Fix blob remove modal style

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
app/views/projects/blob/_remove.html.haml
@@ -9,13 +9,14 @@ @@ -9,13 +9,14 @@
9 %strong= @ref 9 %strong= @ref
10 10
11 .modal-body 11 .modal-body
12 - = form_tag project_blob_path(@project, @id), method: :delete do 12 + = form_tag project_blob_path(@project, @id), method: :delete, class: 'form-horizontal' do
13 .form-group.commit_message-group 13 .form-group.commit_message-group
14 = label_tag 'commit_message', class: "control-label" do 14 = label_tag 'commit_message', class: "control-label" do
15 Commit message 15 Commit message
16 .col-sm-10 16 .col-sm-10
17 - = text_area_tag 'commit_message', params[:commit_message], placeholder: "Removed this file because...", required: true, rows: 3 17 + = text_area_tag 'commit_message', params[:commit_message], placeholder: "Removed this file because...", required: true, rows: 3, class: 'form-control'
18 .form-group 18 .form-group
  19 + .col-sm-2
19 .col-sm-10 20 .col-sm-10
20 = submit_tag 'Remove file', class: 'btn btn-remove' 21 = submit_tag 'Remove file', class: 'btn btn-remove'
21 = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal" 22 = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"