<%= flash[:success] %>
<%- if @requires_approval %>
<%= t 'login.not_approved' %>
<% else %>
<%= t('password_reset.continue', site_name: SiteSetting.title) %>
<%= render partial: 'auto_redirect_home' %>
<% end %>
<%=submit_tag( @user.has_password? ? t('password_reset.update') : t('password_reset.save'), class: 'btn')%>
<%end%> <%end%> <%end%>