From a815b99f110c60aaef8f0bf3313a31704d6a3c99 Mon Sep 17 00:00:00 2001 From: Adam Piontek Date: Fri, 26 Feb 2021 12:10:00 -0500 Subject: [PATCH] tidying alert_kinds helper --- lib/bones73k_web/templates/layout/app.html.eex | 4 ++-- lib/bones73k_web/templates/layout/live.html.leex | 4 ++-- lib/bones73k_web/views/layout_view.ex | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/bones73k_web/templates/layout/app.html.eex b/lib/bones73k_web/templates/layout/app.html.eex index 9027ab8c..260836e4 100644 --- a/lib/bones73k_web/templates/layout/app.html.eex +++ b/lib/bones73k_web/templates/layout/app.html.eex @@ -2,9 +2,9 @@ <%# phoenix flash alerts: %>
- <%= for {kind, class} <- alert_kinds() do %> + <%= for {kind, color} <- alert_kinds() do %> <%= if flash_content = get_flash(@conn, kind) do %> -