aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2020-07-27 18:38:52 -0500
committerAlex Gleason <alex@alexgleason.me>2020-07-27 18:38:52 -0500
commit050ef8697b06b469b9671b24371c9829764e0387 (patch)
treea9e360d35c583e8b1cc74b0cd5dd74a651cb4676 /lib
parent71ac91050815549eea9e03c4f3abd6bb8ae24881 (diff)
downloadpleroma-050ef8697b06b469b9671b24371c9829764e0387.tar.gz
OAuth form: add "Cancel" button
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/templates/o_auth/o_auth/show.html.eex5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex
index 68b095c87..986baa966 100644
--- a/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex
+++ b/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex
@@ -25,7 +25,10 @@
<% end %>
<%= if @user do %>
- <%= submit "Authorize" %>
+ <div class="actions">
+ <a class="button button--cancel" href="/">Cancel</a>
+ <%= submit "Approve", class: "button--approve" %>
+ </div>
<% else %>
<%= if @params["registration"] in ["true", true] do %>
<h3>This is the first time you visit! Please enter your Pleroma handle.</h3>