mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-23 13:44:32 +01:00
Formatting and presentation changes.
This commit is contained in:
parent
b3460cde6b
commit
c4f483e5ee
2 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
defmodule PhilomenaWeb.ReactivationController do
|
defmodule PhilomenaWeb.ReactivationController do
|
||||||
use PhilomenaWeb, :controller
|
use PhilomenaWeb, :controller
|
||||||
alias Philomena.Users.{User}
|
alias Philomena.Users.{User}
|
||||||
|
alias Philomena.Users
|
||||||
|
|
||||||
def show(conn, %{"token" => _}) do
|
def show(conn, %{"token" => _}) do
|
||||||
conn
|
render(conn, "show.html", title: "Reactivate Your Account")
|
||||||
|> render("show.html")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def post(conn, %{"token" => token}) do
|
def post(conn, %{"token" => token}) do
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
h1 Rectivate Account
|
h1 Reactivate Your Account
|
||||||
= button_to "Cancel", ~p"/", class: "button"
|
= button_to "Cancel", ~p"/", class: "button"
|
||||||
= button_to "Reactivate", "", class: ["button", "button--state-success", "button--separate-left"], method: "post", data: [confirm: "Are you sure you want to reactivate your account?"]
|
= button_to "Reactivate", "", class: ["button", "button--state-success", "button--separate-left"], method: "post", data: [confirm: "Are you sure you want to reactivate your account?"]
|
Loading…
Reference in a new issue