mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 01:43:45 +08:00
fdb289164f
On the password_reset error screen, it was totally unused On the show_confirm_new_email screen, we can load the `vendor` bundle instead. Eventually we should move all this logic into the Ember app
26 lines
652 B
Plaintext
26 lines
652 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">
|
|
<%= render_google_universal_analytics_code %>
|
|
<%- end %>
|
|
|
|
<%- content_for(:head) do %>
|
|
<meta name="referrer" content="never">
|
|
<%- end %>
|