From f4133f828335bc00f0f6f949d557a2b63885c3de Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Thu, 14 Mar 2024 19:47:19 -0700 Subject: [PATCH] Add some cheesy formatting to the placeholder NeoPass UI Just to make it fun and cute! I'm doing some other stuff for demo video purposes, but this is the only one I'm committing :p --- app/views/devise/sessions/new.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index e7d04911..7ebdd49b 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,10 +1,15 @@

Log in

<% if @can_use_neopass %> + 🌟✨🌟✨🌟✨🌟✨🌟 +
<%= button_to "Log in with NeoPass", auth_user_neopass_omniauth_authorize_path, data: {turbo: false} # Turbo can't handle this redirect! %> + 🌟✨🌟✨🌟✨🌟✨🌟 +
+
<% end %> <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>