Sha256: dfce8426e899e16f060ddfd552020bc73befd7c1fc9e0aecae8ae25999f00735
Contents?: true
Size: 1.85 KB
Versions: 11
Compression:
Stored size: 1.85 KB
Contents
<div class="login-body"> <%= render "layouts/admin/flash_messages" %> <% if @form_reset.present? %> <h3 class="login-title"><%= t('admin.login.reset_password') %></h3> <%= form_for(@user, :html => { method: "post", role: "form", id:"login_user", class: "form-horizontal" }, :url => admin_forgot_path({h: params[:h]}) ) do |f| %> <div class="form-group"> <div class="col-md-12"> <%= f.password_field :password, :class => "form-control", :placeholder => t('admin.table.password') %> </div> </div> <div class="form-group"> <div class="col-md-12"> <%= f.password_field :password_confirmation, :class => "form-control", :placeholder => t('admin.table.password_confirmation') %> </div> </div> <div class="form-group"> <div class="col-md-12"> <button class="btn btn-primary btn-block"><%= t('admin.button.enter') %></button> </div> </div> <% end %> <% else %> <h3 class="login-title"><%= raw t('admin.login.reset_password_html')%> </h3> <%= form_for(@user, :html => { method: "post", role: "form", id:"login_user", class: "form-horizontal" }, :url => admin_forgot_path ) do |f| %> <div class="form-group"> <div class="col-md-12"> <%= f.email_field :email, :class => "form-control", :placeholder => t("admin.login.email") %> </div> </div> <div class="form-group"> <div class="col-md-12"> <button class="btn btn-primary btn-block"><%= t('admin.button.submit') %></button> </div> </div> <% end %> <% end %> <div class="text-right"> <%= link_to("#{t("common.login")}»".html_safe, admin_login_path, class: "btn btn-default") %> </div> </div>
Version data entries
11 entries across 11 versions & 1 rubygems