Sha256: 4d1564186df3ab820ddaba287e8e411218201ccb5981e0c713d38a25878d361c

Contents?: true

Size: 999 Bytes

Versions: 27

Compression:

Stored size: 999 Bytes

Contents

<div id="login">
  <h2><%= render_or_call_method_or_proc_on(self, active_admin_application.site_title) %> <%= title t('active_admin.devise.login.title') %></h2>

  <% scope = Devise::Mapping.find_scope!(resource_name) %>
  <%= active_admin_form_for(resource, as: resource_name, url: send(:"#{scope}_session_path"), html: { id: "session_new" }) do |f|
    f.inputs do
      resource.class.authentication_keys.each_with_index { |key, index|
        f.input key, label: t('active_admin.devise.'+key.to_s+'.title'), input_html: { autofocus: index.zero? }
      }
      f.input :password, label: t('active_admin.devise.password.title')
      f.input :remember_me, label: t('active_admin.devise.login.remember_me'), as: :boolean if devise_mapping.rememberable?
    end
    f.actions do
      f.action :submit, label: t('active_admin.devise.login.submit'), button_html: { value: t('active_admin.devise.login.submit') }
    end
  end
  %>

  <%= render partial: "active_admin/devise/shared/links" %>
</div>

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/app/views/active_admin/devise/sessions/new.html.erb
activeadmin_addons-1.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.17.pre app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.16.pre app/views/active_admin/devise/sessions/new.html.erb
activeadmin_addons-1.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/app/views/active_admin/devise/sessions/new.html.erb
activeadmin_addons-1.0.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/app/views/active_admin/devise/sessions/new.html.erb
activeadmin_addons-1.0.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.15.pre app/views/active_admin/devise/sessions/new.html.erb
activeadmin-1.0.0 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-1.0.0.pre5 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-orac-1.0.0.pre4 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-orac-1.0.0 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-orac-1.0.0.pre.orac app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.14.pre app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.13.pre app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.12.pre app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.11.pre app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.10.pre app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.9.pre app/views/active_admin/devise/sessions/new.html.erb
yousty-activeadmin-1.0.8.pre app/views/active_admin/devise/sessions/new.html.erb