ruby on rails - Something wrong with my Devise gem -
i'm using ruby on rails , devise gem.
at first, fine. views below, , have failure flash.

but, don't know how, someday, devise not working right. views turn out ugly , no more failure flash. below. 
does knows how. don't change files in app/views/devise. thank you!
devise has not stopped working. views different because have added bootstrap application.
the first screenshot plain html without css , second screenshot bootstrap css applied on pure html elements.
as flash messages:
make sure have following code in app/views/layouts/application.html.erb
<% flash.each |name, msg| %> <%= content_tag :div, msg, class: "alert alert-info" %> <% end %>
Comments
Post a Comment