<%= if live_flash(@flash, :info) do %> <% end %> <%= if live_flash(@flash, :error) do %> <% end %>