Sha256: 0c4b983ee07b34028d2f10e38737efe460e91e22cfaa16c31b09450e6fb0adff
Contents?: true
Size: 1.72 KB
Versions: 12
Compression:
Stored size: 1.72 KB
Contents
<script>var kk = "<%= get_session_id %>";</script> <div class="login-body"> <div class="login-title"><%= raw t('admin.login.welcome_login_html') %> </div> <%= render "layouts/admin/flash_messages" %> <%= form_for(@user, :html => { method: "post", role: "form", id:"login_user", class: "form-horizontal" }, :url => admin_login_path ) do |f| %> <div class="form-group"> <div class="col-md-12"> <%= f.text_field :username, :class => "form-control", :placeholder => t("admin.login.username") %> </div> </div> <div class="form-group"> <div class="col-md-12"> <%= f.password_field :password, :class => "form-control", :placeholder => t("admin.login.password") %> </div> </div> <div class="form-group"> <div class="col-md-12"> <%= raw captcha_tags_if_under_attack("login") %> </div> </div> <div class="form-group"> <div class="col-md-6"> <a href="<%= admin_forgot_path %>" class="btn btn-link btn-block"><%= t('admin.login.forgot_your_password_int') %></a> </div> <div class="col-md-6"> <button class="btn btn-info btn-block"><%= t('admin.button.log_in') %></button> </div> </div> <%= raw content_before_draw %> <%= r = {html: ""}; hooks_run("user_login_form", r); raw(r[:html]); %> <% end %> <% if current_site.get_option('has_create_account', false) %> <div class="login-subtitle"> <%= t('admin.login.do_not_have_account_yet') %> <a href="<%= admin_register_path %>"><%= t('admin.login.create_account') %></a> </div> <% end %> </div>
Version data entries
12 entries across 12 versions & 1 rubygems