summaryrefslogtreecommitdiff
path: root/lib/aggiedit_web/templates/user_confirmation
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-14 00:18:01 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-14 00:18:01 -0600
commitddfab312f73a3f3e15ceb6fec7d350500adb53d6 (patch)
tree9cb6db148a93f21d320538ecc0a523aff8907244 /lib/aggiedit_web/templates/user_confirmation
parent43f225e181ec370dfa7de1b2dc9f18d9eec31be8 (diff)
downloadaggiedit-ddfab312f73a3f3e15ceb6fec7d350500adb53d6.tar.gz
aggiedit-ddfab312f73a3f3e15ceb6fec7d350500adb53d6.zip
Update UI
Diffstat (limited to 'lib/aggiedit_web/templates/user_confirmation')
-rw-r--r--lib/aggiedit_web/templates/user_confirmation/edit.html.heex6
-rw-r--r--lib/aggiedit_web/templates/user_confirmation/new.html.heex12
2 files changed, 10 insertions, 8 deletions
diff --git a/lib/aggiedit_web/templates/user_confirmation/edit.html.heex b/lib/aggiedit_web/templates/user_confirmation/edit.html.heex
index e9bf443..efc4739 100644
--- a/lib/aggiedit_web/templates/user_confirmation/edit.html.heex
+++ b/lib/aggiedit_web/templates/user_confirmation/edit.html.heex
@@ -1,11 +1,11 @@
<h1>Confirm account</h1>
<.form let={_f} for={:user} action={Routes.user_confirmation_path(@conn, :update, @token)}>
- <div>
- <%= submit "Confirm my account" %>
+ <div class="form-group">
+ <%= submit "Confirm my account", class: "btn btn-primary" %>
</div>
</.form>
-
+<hr>
<p>
<%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
<%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
diff --git a/lib/aggiedit_web/templates/user_confirmation/new.html.heex b/lib/aggiedit_web/templates/user_confirmation/new.html.heex
index 4d9bee3..7cabce3 100644
--- a/lib/aggiedit_web/templates/user_confirmation/new.html.heex
+++ b/lib/aggiedit_web/templates/user_confirmation/new.html.heex
@@ -1,14 +1,16 @@
<h1>Resend confirmation instructions</h1>
<.form let={f} for={:user} action={Routes.user_confirmation_path(@conn, :create)}>
- <%= label f, :email %>
- <%= email_input f, :email, required: true %>
+ <div class="form-group">
+ <%= label f, :email %>
+ <%= email_input f, :email, required: true, class: "form-control" %>
+ </div>
- <div>
- <%= submit "Resend confirmation instructions" %>
+ <div class="mt-2">
+ <%= submit "Resend confirmation instructions", class: "btn btn-primary" %>
</div>
</.form>
-
+<hr>
<p>
<%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
<%= link "Log in", to: Routes.user_session_path(@conn, :new) %>