27 lines
1.0 KiB
ERB
27 lines
1.0 KiB
ERB
<%= render HeaderCompactComponent.new(title: "Log in") %>
|
|
|
|
<%= render MainCompactComponent.new do %>
|
|
<h2 class="mb-2 text-xl font-bold text-gray-900">
|
|
Continue as <%= @nostr_remembered_user.address %>
|
|
</h2>
|
|
<p class="mb-8 text-gray-600">
|
|
Your remote signer is still connected on this device.
|
|
</p>
|
|
|
|
<div class="flex flex-col gap-3">
|
|
<%= button_to "Continue", nostr_continue_path,
|
|
method: :post, class: "btn-md btn-blue w-full" %>
|
|
<%= button_to "Log in as a different account", different_account_nostr_continue_path,
|
|
method: :post, class: "btn-md btn-gray w-full",
|
|
data: { turbo_confirm: "This will disconnect your remote signer from this account. Continue?" } %>
|
|
</div>
|
|
|
|
<p class="mt-6 mb-0 text-sm text-gray-600">
|
|
Logging out normally keeps this device remembered. Use “different account” to disconnect the remote signer.
|
|
</p>
|
|
|
|
<p class="mt-6 mb-0 text-sm">
|
|
<%= link_to "Use username and password", new_user_session_path(password: 1),
|
|
class: "text-gray-500 underline" %>
|
|
</p>
|
|
<% end %> |