Sha256: ee7da4d03b45f11e6648a5575d3aa08d54a9e43d1ef6cba4bea707044c6f80c3

Contents?: true

Size: 1.79 KB

Versions: 8

Compression:

Stored size: 1.79 KB

Contents

/ h2 Редактирование профиля
.devise-box
  .white-box
    = simple_form_for(resource, as: resource_name, url: user_registration_path) do |f|
      / = devise_error_messages!
      h2.title Редактирование профиля
      .form-group
        / = f.label :email, label: I18n.t("shared.email")
        / .form-control = f.email_field :email, autofocus: true, placeholder: I18n.t("shared.email")
        = f.input :email, as: :email, autofocus: true, title: I18n.t("shared.email"), placeholder: I18n.t("shared.email"), label: false, wrapper_html: {class: "form-control"}
            
      .form-group
        / = f.label :password
        - if @minimum_password_length
          em= " (Минимум символов: #{@minimum_password_length})".freeze
        / .form-control = f.password_field :password, label: I18n.t("shared.password"), autocomplete: "off", placeholder: I18n.t("shared.password")
        = f.input :password, as: :password, autocomplete: 'off', title: I18n.t("shared.password"), placeholder: I18n.t("shared.password"), label: false, wrapper_html: {class: "form-control"}
      
      .form-group
        / = f.label :password_confirmation
        / br
        / .form-control = f.password_field :password_confirmation, label: I18n.t("shared.password_confirmation"), autocomplete: "off", placeholder: I18n.t("shared.password_confirmation")
        = f.input :password_confirmation, as: :password, autocomplete: 'off', title: I18n.t("shared.password_confirmation"), placeholder: I18n.t("shared.password_confirmation"), label: false, wrapper_html: {class: "form-control"}
      
          
      .form-group.links
        .link-to-recover.center
          = render "devise/shared/links"
      
      .actions
        = f.submit "Зарегистрироваться".freeze

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hancock_cms-1.0.1 app/views/devise/registrations/edit.html.slim
hancock_cms-2.0.0.2 app/views/devise/registrations/edit.html.slim
hancock_cms-1.0.0.4 app/views/devise/registrations/edit.html.slim
hancock_cms-1.0.0.3 app/views/devise/registrations/edit.html.slim
hancock_cms-2.0.0.1 app/views/devise/registrations/edit.html.slim
hancock_cms-1.0.0.2 app/views/devise/registrations/edit.html.slim
hancock_cms-2.0.0 app/views/devise/registrations/edit.html.slim
hancock_cms-1.0.0 app/views/devise/registrations/edit.html.slim