style: consitent flash messages
This commit is contained in:
parent
b7c93f19cb
commit
ff9f98f8e7
22 changed files with 117 additions and 103 deletions
|
|
@ -556,7 +556,7 @@ defmodule MvWeb.UserLive.Form do
|
|||
|
||||
socket =
|
||||
socket
|
||||
|> put_flash(:info, gettext("User %{action} successfully", action: action))
|
||||
|> put_flash(:success, gettext("User %{action} successfully", action: action))
|
||||
|> push_navigate(to: return_path(socket.assigns.return_to, updated_user))
|
||||
|
||||
{:noreply, socket}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue