Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-05 15:45:03 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-05 15:45:03 +0400
commit70f705887ad52152100e45d398a5f0d330ddc5bb (patch)
tree534faf0042c78fa6d0b38f4f675c42c2e30cc0eb /app/views/projects/blob/_remove.html.haml
parentac6c050773bdd24f63f94dc2f4124778fa604b53 (diff)
Fix blob remove modal style
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/blob/_remove.html.haml')
-rw-r--r--app/views/projects/blob/_remove.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/blob/_remove.html.haml b/app/views/projects/blob/_remove.html.haml
index 76fb62b6e00..6384703671a 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"