<%= render "layouts/admin/flash_messages" %> <% if @form_reset.present? %>
<%= t('admin.login.reset_password') %>
<%= form_for(@user, :html => { method: "post", role: "form", id:"login_user", class: "form-horizontal" }, :url => admin_forgot_path({h: params[:h]}) ) do |f| %>
<%= f.password_field :password, :class => "form-control", :placeholder => t('admin.table.password') %>
<%= f.password_field :password_confirmation, :class => "form-control", :placeholder => t('admin.table.password_confirmation') %>
<% end %> <% else %>
<%= raw t('admin.login.reset_password_html')%>
<%= form_for(@user, :html => { method: "post", role: "form", id:"login_user", class: "form-horizontal" }, :url => admin_forgot_path ) do |f| %>
<%= f.email_field :email, :class => "form-control", :placeholder => t("admin.login.email") %>
<% end %> <% end %>