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