From 8e9e2232f3bf9811d1792e3eb850d07313eae2cd Mon Sep 17 00:00:00 2001 From: Anthony Shull Date: Fri, 24 May 2024 08:50:27 -0500 Subject: [PATCH] use object instead of image --- lib/dotcom_web/templates/alert/_item.html.eex | 6 +++--- lib/dotcom_web/templates/cms/page/_diversions.html.eex | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/dotcom_web/templates/alert/_item.html.eex b/lib/dotcom_web/templates/alert/_item.html.eex index 009c49a896..e85ddff531 100644 --- a/lib/dotcom_web/templates/alert/_item.html.eex +++ b/lib/dotcom_web/templates/alert/_item.html.eex @@ -29,9 +29,9 @@ <%= if @alert.description do %>
<%= if @alert.image_url && @alert.image_alt_text do %> -
- <%= @alert.image_alt_text %> -
+ + <%= @alert.image_alt_text %> + <% end %>
<%= format_alert_description(@alert.description) %> diff --git a/lib/dotcom_web/templates/cms/page/_diversions.html.eex b/lib/dotcom_web/templates/cms/page/_diversions.html.eex index fa6de9a141..72a996c012 100644 --- a/lib/dotcom_web/templates/cms/page/_diversions.html.eex +++ b/lib/dotcom_web/templates/cms/page/_diversions.html.eex @@ -24,5 +24,4 @@ <%# Sidebar Right %> <%= if !@sidebar_left && @sidebar_right, do: DotcomWeb.CMSView.render("_sidebar_right.html", page: @page, conn: @conn) %>
-