mirror of
https://github.com/ClaperCo/Claper.git
synced 2026-02-24 12:09:59 +01:00
12 lines
398 B
Plaintext
12 lines
398 B
Plaintext
<div class="fixed max-w-xl w-full bottom-5 left-1/2 tranform -translate-x-1/2 z-10">
|
|
<%= if Phoenix.Flash.get(@flash, :info) do %>
|
|
<ClaperWeb.Component.Alert.info message={Phoenix.Flash.get(@flash, :info)} />
|
|
<% end %>
|
|
|
|
<%= if Phoenix.Flash.get(@flash, :error) do %>
|
|
<ClaperWeb.Component.Alert.error message={Phoenix.Flash.get(@flash, :error)} />
|
|
<% end %>
|
|
</div>
|
|
|
|
{@inner_content}
|