Fix ERB being used in an HTML comment

This was causing erb-lint to issue a warning.
This commit is contained in:
Javi Martín
2019-10-05 18:53:36 +02:00
parent db1ccb18c7
commit 6b12da7654

View File

@@ -21,8 +21,8 @@
<div class="wrapper <%= yield (:wrapper_class) %>"> <div class="wrapper <%= yield (:wrapper_class) %>">
<%= render "layouts/header", with_subnavigation: true %> <%= render "layouts/header", with_subnavigation: true %>
<!--[if lt IE 9]>
<% if browser.ie? && cookies["ie_alert_closed"] != "true" %> <% if browser.ie? && cookies["ie_alert_closed"] != "true" %>
<!--[if lt IE 9]>
<div data-alert class="callout primary ie-callout" data-closable> <div data-alert class="callout primary ie-callout" data-closable>
<button class="close-button ie-callout-close-js" <button class="close-button ie-callout-close-js"
aria-label="<%= t("application.close") %>" type="button" data-close> aria-label="<%= t("application.close") %>" type="button" data-close>
@@ -38,8 +38,8 @@
).html_safe %> ).html_safe %>
</p> </p>
</div> </div>
<% end %>
<![endif]--> <![endif]-->
<% end %>
<%= render "layouts/flash" %> <%= render "layouts/flash" %>