Sha256: 0d7863cd7ee47d31234a0c7bffffb619fc815e84dd7553d7c974ede28d8f0782

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

Contents

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

  <% scope = Devise::Mapping.find_scope!(resource_name) %>
  <%= render partial: "active_admin/devise/shared/error_messages", resource: resource %>
  <%= 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

6 entries across 6 versions & 2 rubygems

Version Path
activeadmin-rails-1.7.1 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-rails-1.7.0 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-rb-1.6.0 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-rb-1.5.2 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-rb-1.5.1 app/views/active_admin/devise/registrations/new.html.erb
activeadmin-rb-1.5.0 app/views/active_admin/devise/registrations/new.html.erb