forked from shibao/cannery
run phx.new and add phx.gen.auth
This commit is contained in:
.formatter.exs.gitignore.tool-versionsREADME.md
assets
.babelrc
css
js
package-lock.jsonpackage.jsonpostcss.config.jsstatic
tailwind.config.jswebpack.config.jsyarn.lockconfig
lib
lokal.ex
mix.exsmix.locklokal
lokal_web.exlokal_web
channels
controllers
page_controller.exuser_auth.exuser_confirmation_controller.exuser_registration_controller.exuser_reset_password_controller.exuser_session_controller.exuser_settings_controller.ex
endpoint.exgettext.exlive
router.extelemetry.extemplates
layout
page
user_confirmation
user_registration
user_reset_password
user_session
user_settings
views
priv
gettext
repo
test
15
lib/lokal_web/templates/user_confirmation/new.html.eex
Normal file
15
lib/lokal_web/templates/user_confirmation/new.html.eex
Normal file
@ -0,0 +1,15 @@
|
||||
<h1>Resend confirmation instructions</h1>
|
||||
|
||||
<%= form_for :user, Routes.user_confirmation_path(@conn, :create), fn f -> %>
|
||||
<%= label f, :email %>
|
||||
<%= email_input f, :email, required: true %>
|
||||
|
||||
<div>
|
||||
<%= submit "Resend confirmation instructions" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<p>
|
||||
<%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
|
||||
<%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
|
||||
</p>
|
Reference in New Issue
Block a user