diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-01 23:59:45 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-01 23:59:45 +0400 |
commit | a9fba2cd0acf847bced02e5ff3673b41adca151a (patch) | |
tree | 0b47d76910f99d7faf9e337eddeb0a45f6d7ce97 /app/views/projects/blob/_remove.html.haml | |
parent | 42fc32d8bd5e626167264ceb7cec1cefcc574ee6 (diff) |
Fix modal dialogs
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.haml | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/app/views/projects/blob/_remove.html.haml b/app/views/projects/blob/_remove.html.haml index a4600d8d5b7..76fb62b6e00 100644 --- a/app/views/projects/blob/_remove.html.haml +++ b/app/views/projects/blob/_remove.html.haml @@ -1,19 +1,21 @@ -%div#modal-remove-blob.modal.hide - .modal-header - %a.close{href: "#", "data-dismiss" => "modal"} × - %h3.page-title Remove #{@blob.name} - %p.light - From branch - %strong= @ref +#modal-remove-blob.modal.hide + .modal-dialog + .modal-content + .modal-header + %a.close{href: "#", "data-dismiss" => "modal"} × + %h3.page-title Remove #{@blob.name} + %p.light + From branch + %strong= @ref - .modal-body - = form_tag project_blob_path(@project, @id), method: :delete 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 - .form-group - .col-sm-10 - = submit_tag 'Remove file', class: 'btn btn-remove' - = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal" + .modal-body + = form_tag project_blob_path(@project, @id), method: :delete 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 + .form-group + .col-sm-10 + = submit_tag 'Remove file', class: 'btn btn-remove' + = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal" |