1
0
Fork 0
forked from OpenNeo/impress

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
This commit is contained in:
Emi Matchu 2024-03-14 19:47:19 -07:00
parent 7f4c34ff6a
commit f4133f8283

View file

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