add page titles to registration and setting pages

This commit is contained in:
2022-02-20 20:39:21 -05:00
parent 968abd04ee
commit 1a78e88b34
7 changed files with 21 additions and 13 deletions

View File

@ -1,10 +1,11 @@
defmodule CanneryWeb.UserConfirmationController do
use CanneryWeb, :controller
import CanneryWeb.Gettext
alias Cannery.Accounts
def new(conn, _params) do
render(conn, "new.html")
render(conn, "new.html", page_title: gettext("Confirm your account"))
end
def create(conn, %{"user" => %{"email" => email}}) do