Fix syntax error in shared/_modal.haml
Also can't use quoted keys there yet because of Ruby 2.1
This commit is contained in:
parent
5589dac108
commit
e3bff1f20b
1 changed files with 8 additions and 8 deletions
|
|
@ -1,15 +1,15 @@
|
||||||
.modal.fade { id: id,
|
.modal.fade{"id" => id,
|
||||||
tabindex: "-1",
|
"tabindex" => "-1",
|
||||||
role: "dialog",
|
"role" => "dialog",
|
||||||
"aria-labelledby": "#{id}Label",
|
"aria-labelledby" => "#{id}Label",
|
||||||
"aria-hidden": "true",
|
"aria-hidden" => "true",
|
||||||
"href": path }
|
"href" => path}
|
||||||
.modal-dialog
|
.modal-dialog
|
||||||
.modal-content
|
.modal-content
|
||||||
.modal-header
|
.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
|
= title
|
||||||
.modal-body
|
.modal-body
|
||||||
= image_tag("ajax-loader2.gif", id: "modalWaiter", class: "img-responsive center-block")
|
= image_tag("ajax-loader2.gif", id: "modalWaiter", class: "img-responsive center-block")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue