IMP: task card (#25)
This commit is contained in:
parent
676de86157
commit
a91f1924b2
7 changed files with 89 additions and 27 deletions
|
@ -37,7 +37,7 @@ defmodule PlannerWeb.LandingLive do
|
|||
{:noreply,
|
||||
socket
|
||||
|> clear_flash(:info)
|
||||
|> put_flash(:info, "task '" <> task.value <> "' created")
|
||||
|> put_flash(:info, "task '#{task.value}' created")
|
||||
|> assign(:new_task_changeset, Tasks.change_task(%Task{}))}
|
||||
|
||||
{:error, %Ecto.Changeset{} = changeset} ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue