From e3bff1f20b6c1fdbad1f1fe6ce473993766ddfe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Wed, 3 Jun 2015 17:16:01 +0200 Subject: [PATCH] Fix syntax error in shared/_modal.haml Also can't use quoted keys there yet because of Ruby 2.1 --- app/views/shared/_modal.haml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/shared/_modal.haml b/app/views/shared/_modal.haml index 0e77a7b46..9fca27ef5 100644 --- a/app/views/shared/_modal.haml +++ b/app/views/shared/_modal.haml @@ -1,15 +1,15 @@ -.modal.fade { id: id, - tabindex: "-1", - role: "dialog", - "aria-labelledby": "#{id}Label", - "aria-hidden": "true", - "href": path } +.modal.fade{"id" => id, + "tabindex" => "-1", + "role" => "dialog", + "aria-labelledby" => "#{id}Label", + "aria-hidden" => "true", + "href" => path} .modal-dialog .modal-content .modal-header - %button.close{ type: "button", "data-dismiss": "modal", "aria-hidden": "true" } + %button.close{"type" => "button", "data-dismiss" => "modal", "aria-hidden" => "true"} × - %h3.modal-title{ id: "#{id}Label"} + %h3.modal-title{id: "#{id}Label"} = title .modal-body = image_tag("ajax-loader2.gif", id: "modalWaiter", class: "img-responsive center-block")