mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 11:03:41 +08:00
1be01f8dd4
Minor fixes to add Rails 6 support to Discourse, we now will boot with RAILS_MASTER=1, all specs pass Only one tiny deprecation left Largest change was the way ActiveModel:Errors changed interface a bit but there is a simple backwards compat way of working it
27 lines
691 B
Plaintext
27 lines
691 B
Plaintext
<div id="simple-container">
|
|
<%if @error%>
|
|
<div class='alert alert-error'>
|
|
<%= @error %>
|
|
</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">
|
|
<%= preload_script "ember_jquery" %>
|
|
<%= render_google_universal_analytics_code %>
|
|
<%- end %>
|
|
|
|
<%- content_for(:head) do %>
|
|
<meta name="referrer" content="never">
|
|
<%- end %>
|