diff options
author | samdbeckham <sbeckham@gitlab.com> | 2018-06-01 17:01:37 +0300 |
---|---|---|
committer | samdbeckham <sbeckham@gitlab.com> | 2018-06-01 17:01:37 +0300 |
commit | 4963303fae5dbb5580c101db2c16555f36d07c3b (patch) | |
tree | bec149b3adf793ca3633214cb9505ba9febfece5 /app/views/projects/blob/_remove.html.haml | |
parent | 72702275373d466f0f55c925e05c34bba1326761 (diff) |
Updates a load of modal headers to use better markup
Diffstat (limited to 'app/views/projects/blob/_remove.html.haml')
-rw-r--r-- | app/views/projects/blob/_remove.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/blob/_remove.html.haml b/app/views/projects/blob/_remove.html.haml index 4628ecff3d6..f80bae5c88c 100644 --- a/app/views/projects/blob/_remove.html.haml +++ b/app/views/projects/blob/_remove.html.haml @@ -2,8 +2,9 @@ .modal-dialog .modal-content .modal-header - %a.close{ href: "#", "data-dismiss" => "modal" } × %h3.page-title Delete #{@blob.name} + %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } + %span{ "aria-hidden": true } × .modal-body = form_tag project_blob_path(@project, @id), method: :delete, class: 'js-delete-blob-form js-quick-submit js-requires-input' do |