Sha256: d853a6816b989b9a2f68b124928721fe810be06e7ceb938ea3273953361e1613

Contents?: true

Size: 974 Bytes

Versions: 8

Compression:

Stored size: 974 Bytes

Contents

h2 Регистрация
= simple_form_for(resource, as: resource_name, url: user_registration_path) do |f|
  = devise_error_messages!
  .field
    = f.label :email, label: I18n.t("shared.email")
    br
    = f.email_field :email, autofocus: true
  .field
    = f.label :password
    - if @minimum_password_length
      em= " (Минимум символов: #{@minimum_password_length})"
    br
    = f.password_field :password, label: I18n.t("shared.password"), autocomplete: "off"
  .field
    = f.label :password_confirmation
    br
    = f.password_field :password_confirmation, label: I18n.t("shared.password_confirmation"), autocomplete: "off"
  .actions
    - if Enjoy.config.registration_captcha
      - if Enjoy.config.recaptcha_support
        = recaptcha_tags
      - elsif Enjoy.config.simple_captcha_support
        = f.input :captcha, as: :simple_captcha, label: false
        
    = f.submit I18n.t("shared.registration")
br
= render "devise/shared/links"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enjoy_cms-0.4.1 app/views/devise/registrations/new.html.slim
enjoy_cms-0.4.0.5 app/views/devise/registrations/new.html.slim
enjoy_cms-0.4.0.4 app/views/devise/registrations/new.html.slim
enjoy_cms-0.4.0.3 app/views/devise/registrations/new.html.slim
enjoy_cms-0.4.0.2 app/views/devise/registrations/new.html.slim
enjoy_cms-0.4.0.1 app/views/devise/registrations/new.html.slim
enjoy_cms-0.4.0 app/views/devise/registrations/new.html.slim
enjoy_cms-0.4.0.beta3 app/views/devise/registrations/new.html.slim