Sha256: e127156cf4d03bad6fc40eeb44dfc07ff5b8610d5b9deb3652e73b4b2bedab1f

Contents?: true

Size: 1020 Bytes

Versions: 7

Compression:

Stored size: 1020 Bytes

Contents

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

  <% scope = Devise::Mapping.find_scope!(resource_name) %>
  <%= devise_error_messages! %>
  <%= 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_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 :password_confirmation, label: 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

7 entries across 7 versions & 1 rubygems

Version Path
activeadmin-1.3.1 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-1.3.0 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-1.2.1 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-1.2.0 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-1.1.0 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-1.0.0 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-1.0.0.pre5 app/views/active_admin/devise/registrations/new.html.erb