Fix linting error: Avoid defining in attributes hash for static class names
This commit is contained in:
parent
e5532eb74f
commit
d34aabe4dc
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
%li
|
%li
|
||||||
= link_to t("links.footer.carte.label"), carte_path, title: t("links.footer.carte.title"), class: "fr-footer__top-link"
|
= link_to t("links.footer.carte.label"), carte_path, title: t("links.footer.carte.title"), class: "fr-footer__top-link"
|
||||||
%li
|
%li
|
||||||
%a{ :href => t("links.footer.cgu.url"), :class => "fr-footer__top-link", :rel => "noopener noreferrer", :hreflang => "fr" }
|
%a.fr-footer__top-link{ :href => t("links.footer.cgu.url"), :rel => "noopener noreferrer", :hreflang => "fr" }
|
||||||
%abbr{ title: t("links.footer.cgu.title") }
|
%abbr{ title: t("links.footer.cgu.title") }
|
||||||
= t("links.footer.cgu.label")
|
= t("links.footer.cgu.label")
|
||||||
.fr-col-12.fr-col-sm-3.fr-col-md-3
|
.fr-col-12.fr-col-sm-3.fr-col-md-3
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
%li
|
%li
|
||||||
= link_to t("links.footer.api_doc.label"), t("links.footer.api_doc.url"), title: t("links.footer.api_doc.title"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr"
|
= link_to t("links.footer.api_doc.label"), t("links.footer.api_doc.url"), title: t("links.footer.api_doc.title"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr"
|
||||||
%li
|
%li
|
||||||
%a{ :href => t("links.common.faq.url"), :class => "fr-footer__top-link", :rel => "noopener noreferrer" }
|
%a.fr-footer__top-link{ :href => t("links.common.faq.url"), :rel => "noopener noreferrer" }
|
||||||
%abbr{ title: t("links.common.faq.title") }
|
%abbr{ title: t("links.common.faq.title") }
|
||||||
= t("links.common.faq.label")
|
= t("links.common.faq.label")
|
||||||
%li
|
%li
|
||||||
|
|
Loading…
Reference in a new issue