From f310f672b687dbce716c76a35a2b24bb0710076e Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Wed, 26 Apr 2017 14:58:48 +0200 Subject: [PATCH] Extract class attributes from HAML tag attributes --- app/views/admin/procedures/_list.html.haml | 2 +- app/views/layouts/_new_header.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/procedures/_list.html.haml b/app/views/admin/procedures/_list.html.haml index 5cf85a729..b437aa603 100644 --- a/app/views/admin/procedures/_list.html.haml +++ b/app/views/admin/procedures/_list.html.haml @@ -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 diff --git a/app/views/layouts/_new_header.haml b/app/views/layouts/_new_header.haml index 1f9049ce7..73f1946c6 100644 --- a/app/views/layouts/_new_header.haml +++ b/app/views/layouts/_new_header.haml @@ -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"