Sha256: 10a1100378fd5fd4c2e50a6ac2ac9651c1c71577ead19ba0650e5b6851ffc9f1
Contents?: true
Size: 1003 Bytes
Versions: 5
Compression:
Stored size: 1003 Bytes
Contents
<div id="login"> <h2><%= title "#{render_or_call_method_or_proc_on(self, active_admin_application.site_title)} #{t('active_admin.devise.sign_up.title')}" %></h2> <% scope = Devise::Mapping.find_scope!(resource_name) %> <%= active_admin_form_for(resource, :as => resource_name, :url => send(:"#{scope}_registration_path"), :html => { :id => "registration_new" }) do |f| f.inputs do resource.class.authentication_keys.each { |key| f.input key, :label => t('active_admin.devise.'+key.to_s+'.title'), :input_html => {:autofocus => true} } f.input :password, :label => t('active_admin.devise.password.title') f.input :password_confirmation, :lable => t('active_admin.devise.password_confirmation.title') end f.actions do f.action :submit, :label => t('active_admin.devise.login.submit'), :button_html => { :value => t('active_admin.devise.sign_up.submit') } end end %> <%= render :partial => "active_admin/devise/shared/links" %> </div>
Version data entries
5 entries across 5 versions & 2 rubygems