Sha256: 5f16e459177ca8ddad6b7d2dda93254b855ce13972a249102a637e2f46f7909c

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

<div id="login">
  <h2><%= title "#{ActiveAdmin.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

1 entries across 1 versions & 1 rubygems

Version Path
activeadmin-0.2.2 lib/active_admin/views/templates/active_admin/devise/sessions/new.html.erb