mirror of
https://github.com/discourse/discourse.git
synced 2025-03-10 17:45:30 +08:00

* FIX: Follow up fixes for password-reset error page Pass in `base_url` to the template Use `.html_safe` since the message now contains html Follow up to: 9b1536fb833f00a1625fe198964e90a32bb5bc71 * Update specs to pass in the base_url
26 lines
662 B
Plaintext
26 lines
662 B
Plaintext
<div id="simple-container">
|
|
<%if @error%>
|
|
<div class='alert alert-error'>
|
|
<%= @error.html_safe %>
|
|
</div>
|
|
<%end%>
|
|
<% if @user.present? and @user.errors.present? %>
|
|
<div class='alert alert-error'>
|
|
<% @user.errors.full_messages.each do |msg| %>
|
|
<li><%= msg %></li>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
|
|
<% content_for :title do %><%=t "password_reset.title" %> - <%= SiteSetting.title %><% end %>
|
|
|
|
<%- content_for(:no_ember_head) do %>
|
|
<meta name="referrer" content="never">
|
|
<%= render_google_universal_analytics_code %>
|
|
<%- end %>
|
|
|
|
<%- content_for(:head) do %>
|
|
<meta name="referrer" content="never">
|
|
<%- end %>
|