I'd like to use a long message on the flash notice of success when user confirms. So i'd like to display it on 2 lines using a <br/>
on devise.en.yml
How/Where can I raw or use another method to do it ?
Here is my yml
en:
devise:
confirmations:
confirmed: "Just confirmed loremp ipsum !!!!! !<br/> To start you up, you get full access to the website for 3 days lorem ipsum lorem ipsum lorem ipsum"
I tried to use raw here on my flash message
<!-- Flash messages to display alerts and notices (including success messages) -->
<% flash.each do |name, msg| %>
<% if msg.is_a?(String) %>
<div class="alert alert-<%= name == :notice ? "success" : "error" %>">
<a class="close" data-dismiss="alert">×</a>
<%=raw content_tag :div, msg, id:"flash_#{name}" %>
</div>
<% end %>
<% end %>
But the flash message does not understand/interpret my <br/>
and just writes on the page <br/>