Empty alt attribute for decorative images
This commit is contained in:
parent
77a84358a0
commit
3962c24892
1 changed files with 1 additions and 4 deletions
|
@ -1,8 +1,5 @@
|
|||
.procedure-logos
|
||||
- procedure_logo_alt = ''
|
||||
- if procedure.service.present?
|
||||
- procedure_logo_alt = "#{procedure.service.nom} − #{procedure.service.organisme}"
|
||||
= image_tag procedure.logo_url, alt: procedure_logo_alt
|
||||
= image_tag procedure.logo_url, alt: ''
|
||||
- if procedure.euro_flag
|
||||
= image_tag("flag_of_europe.svg", id: 'euro_flag', class: (!procedure.euro_flag ? "hidden" : ""))
|
||||
%h1.fr-h2
|
||||
|
|
Loading…
Reference in a new issue