Sha256: a7a2474d19a2fdaa8bcae4e9ca557d1dcd4e5d79cb2d7ce742a2fac0cb14d93b

Contents?: true

Size: 615 Bytes

Versions: 9

Compression:

Stored size: 615 Bytes

Contents

<div id="login">
  <h2><%= title "#{active_admin_application.site_title} Login" %></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
      Devise.authentication_keys.each { |key| f.input key }
      f.input :password
      f.input :remember_me, :as => :boolean, :if =>  false  #devise_mapping.rememberable? }
    end
    f.buttons do
      f.commit_button "Login"
    end
  end
  %>

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

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
andrewroth_activeadmin-0.3.4 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-0.3.4 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-0.3.3 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-0.3.2 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-0.3.1 app/views/active_admin/devise/sessions/new.html.erb
activeadmin-0.3.0 app/views/active_admin/devise/sessions/new.html.erb
nsm-activeadmin-0.2.2 app/views/active_admin/devise/sessions/new.html.erb
saulolso-activeadmin-0.2.2.1 lib/active_admin/views/templates/active_admin/devise/sessions/new.html.erb
saulolso-activeadmin-0.2.2 lib/active_admin/views/templates/active_admin/devise/sessions/new.html.erb