Extract class attributes from HAML tag attributes

This commit is contained in:
gregoirenovel 2017-04-26 14:58:48 +02:00
parent 7ddcb9aedc
commit f310f672b6
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
%td.col-xs-6
= procedure.libelle
- if @active_class
%td= link_to procedure.lien, procedure.lien, class: 'procedure-lien', 'data-method' => :get
%td.procedure-lien= link_to procedure.lien, procedure.lien, 'data-method' => :get
%td
= procedure.created_at_fr
%td

View file

@ -1,6 +1,6 @@
.new-header
.header-inner-content
%img{ src: image_url("header/logo-tps.svg"), class: "header-logo pull-left" }
%img.header-logo.pull-left{ src: image_url("header/logo-tps.svg") }
= link_to "Connexion", new_user_session_path, :class => "header-login-button pull-right"