app/views/devise/registrations/new.html.slim in enjoy_cms-0.3.7.4 vs app/views/devise/registrations/new.html.slim in enjoy_cms-0.4.0.beta3

- old
+ new

@@ -1,7 +1,7 @@ h2 Регистрация -= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| += 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 @@ -14,8 +14,14 @@ .field = f.label :password_confirmation br = f.password_field :password_confirmation, label: I18n.t("shared.password_confirmation"), autocomplete: "off" .actions - = f.submit "Зарегистрироваться" + - 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" \ No newline at end of file += render "devise/shared/links"