Sha256: 7bab79e4dadcb3ee212c8fced559a1f6e18ae7bd2866284b1ced540a26a1e5c8

Contents?: true

Size: 628 Bytes

Versions: 5

Compression:

Stored size: 628 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 => "active_admin/devise/shared/links" %>
</div>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
activeadmin-0.4.0 app/views/active_admin/devise/sessions/new.html.erb
andrewroth_activeadmin-0.3.4.4 app/views/active_admin/devise/sessions/new.html.erb
andrewroth_activeadmin-0.3.4.3 app/views/active_admin/devise/sessions/new.html.erb
andrewroth_activeadmin-0.3.4.2 app/views/active_admin/devise/sessions/new.html.erb
andrewroth_activeadmin-0.3.4.1 app/views/active_admin/devise/sessions/new.html.erb