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")}&raquo;".html_safe, admin_login_path, class: "btn btn-default") %>
    </div>
</div>



Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
camaleon_cms-1.1.0 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.9 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.8 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.7 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.6 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.5 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.4 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.3 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.2 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0.1 app/views/admin/sessions/forgot.html.erb
camaleon_cms-1.0 app/views/admin/sessions/forgot.html.erb