From 70f705887ad52152100e45d398a5f0d330ddc5bb Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 5 Jan 2014 13:45:03 +0200 Subject: [PATCH] Fix blob remove modal style --- app/views/projects/blob/_remove.html.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/projects/blob/_remove.html.haml b/app/views/projects/blob/_remove.html.haml index 76fb62b..6384703 100644 --- a/app/views/projects/blob/_remove.html.haml +++ b/app/views/projects/blob/_remove.html.haml @@ -9,13 +9,14 @@ %strong= @ref .modal-body - = form_tag project_blob_path(@project, @id), method: :delete do + = 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 - = text_area_tag 'commit_message', params[:commit_message], placeholder: "Removed this file because...", required: true, rows: 3 + = text_area_tag 'commit_message', params[:commit_message], placeholder: "Removed this file because...", required: true, rows: 3, class: 'form-control' .form-group + .col-sm-2 .col-sm-10 = submit_tag 'Remove file', class: 'btn btn-remove' = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal" -- libgit2 0.21.2