8 lines
172 B
Elixir
8 lines
172 B
Elixir
|
h1 do: "Edit Post"
|
||
|
|
||
|
render("form.html", Map.put(assigns, :action, Routes.post_path(@conn, :update, @post)))
|
||
|
|
||
|
span do
|
||
|
link "Back", to: Routes.post_path(@conn, :index)
|
||
|
end
|