You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when creating the views with rails generate devise:views:bootstrap_templates, the newly generated file sessions/new.html.erb does not contain the error messages block (<%= bootstrap_devise_error_messages! %>) which is available in registrations/new.html.erb.
Therefore, when entering faulty data during login, the user isn't informed. The registration form does show the errors as expected.
I tried adding the block to the file, but it has no effect. I also followed the wiki entry about izitoast, but it doesn't work either. The only way I can see the errors is by using <p class="notice"><%= notice %></p> <p class="alert"><%= alert %></p>, but then it's not inside the bootstrap error message box.
The text was updated successfully, but these errors were encountered:
when creating the views with
rails generate devise:views:bootstrap_templates
, the newly generated file sessions/new.html.erb does not contain the error messages block (<%= bootstrap_devise_error_messages! %>
) which is available in registrations/new.html.erb.Therefore, when entering faulty data during login, the user isn't informed. The registration form does show the errors as expected.
I tried adding the block to the file, but it has no effect. I also followed the wiki entry about izitoast, but it doesn't work either. The only way I can see the errors is by using
<p class="notice"><%= notice %></p> <p class="alert"><%= alert %></p>
, but then it's not inside the bootstrap error message box.The text was updated successfully, but these errors were encountered: