-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,33 @@ | ||
<div class="min-h-screen flex items-center justify-center bg-gray-100"> | ||
<div class="max-w-3xl w-full p-10"> | ||
<div class="text-center"> | ||
<h1 class="text-4xl font-bold text-gray-900 mb-2"><%= gettext("CSRF Verification Failed") %></h1> | ||
<p class="text-lg text-gray-700 mb-8"><%= gettext("A required security token was not found or was invalid.") %></p> | ||
<h1 class="text-4xl font-bold text-gray-900 mb-2"> | ||
<%= gettext("CSRF Verification Failed") %> | ||
</h1> | ||
<p class="text-lg text-gray-700 mb-8"> | ||
<%= gettext("A required security token was not found or was invalid.") %> | ||
</p> | ||
</div> | ||
|
||
<div class="space-y-6 text-center"> | ||
<p class="text-gray-700"><%= gettext("If you're continually seeing this issue, try the following:") %></p> | ||
<p class="text-gray-700"> | ||
<%= gettext("If you're continually seeing this issue, try the following:") %> | ||
</p> | ||
<ol class="list-decimal list-inside space-y-2 text-gray-600"> | ||
<li><%= gettext("Clear cookies (at least for Claper domain)") %></li> | ||
<li><%= gettext("Reload the page you're trying to access (don't re-submit data)") %></li> | ||
<li><%= gettext("Try logging in again") %></li> | ||
<li><%= gettext("Ensure the URL does not contain an extra \"/\" anywhere") %></li> | ||
</ol> | ||
<p class="text-gray-700 mt-6"><%= gettext("If the problem persists, please contact support.") %></p> | ||
<p class="text-gray-700 mt-6"> | ||
<%= gettext("If the problem persists, please contact support.") %> | ||
</p> | ||
<div class="mt-8"> | ||
<%= link gettext("Back to Login"), to: ~p"/users/log_in", class: "text-blue underline font-semibold transition duration-300 ease-in-out" %> | ||
<%= link(gettext("Back to Login"), | ||
to: ~p"/users/log_in", | ||
class: "text-blue underline font-semibold transition duration-300 ease-in-out" | ||
) %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |