Disable client/server error flash messages
This commit is contained in:
parent
2781748626
commit
5920177029
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ defmodule Liliform.Flash do
|
||||||
<div id={@id}>
|
<div id={@id}>
|
||||||
<.flash kind={:info} title={gettext("Info")} flash={@flash} is-info />
|
<.flash kind={:info} title={gettext("Info")} flash={@flash} is-info />
|
||||||
<.flash kind={:error} title={gettext("Error")} flash={@flash} is-danger />
|
<.flash kind={:error} title={gettext("Error")} flash={@flash} is-danger />
|
||||||
<.flash
|
<%!-- <.flash
|
||||||
id="client-error"
|
id="client-error"
|
||||||
kind={:error}
|
kind={:error}
|
||||||
title={gettext("We can't find the internet")}
|
title={gettext("We can't find the internet")}
|
||||||
|
@ -112,7 +112,7 @@ defmodule Liliform.Flash do
|
||||||
>
|
>
|
||||||
<%= gettext("Hang in there while we get back on track") %>
|
<%= gettext("Hang in there while we get back on track") %>
|
||||||
<Lucideicons.refresh_cw class="h-4 w-4 animate-spin is-inline-block" aria-hidden />
|
<Lucideicons.refresh_cw class="h-4 w-4 animate-spin is-inline-block" aria-hidden />
|
||||||
</.flash>
|
</.flash> --%>
|
||||||
</div>
|
</div>
|
||||||
"""
|
"""
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue