mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Centralize auth messages (#269)
* Add i18n-tasks
* Add auth-related i18n
* Centralize auth messages
* Remove safe navigation
* Revert "Remove safe navigation"
This reverts commit 56b5e01e5e
.
* Remove newline in Gemfile
This commit is contained in:
parent
69698d0463
commit
c5192ee424
17 changed files with 138 additions and 55 deletions
|
@ -3,6 +3,8 @@
|
|||
%>
|
||||
|
||||
<%= form_with url: session_path, html: {class: 'space-y-6'} do |form| %>
|
||||
<%= auth_messages form %>
|
||||
|
||||
<div class="relative border border-gray-100 bg-offwhite rounded-xl focus-within:bg-white focus-within:shadow focus-within:opacity-100">
|
||||
<%= form.label :email, "Email address", class: 'p-4 pb-0 block text-sm font-medium text-gray-700' %>
|
||||
<%= form.email_field :email, autofocus: false, autocomplete: "email", required: 'required', placeholder: 'you@example.com', class: 'p-4 pt-1 bg-transparent border-none opacity-50 focus:outline-none focus:ring-0 focus-within:opacity-100 w-full' %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue