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.

enter image description here

but, don't know how, someday, devise not working right. views turn out ugly , no more failure flash. below. enter image description here

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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -