Commit eb3e98e8 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'Externalize-strings-in-sessions-_new_crowd.html.haml' into 'master'

Externalise strings in sessions/_new_crowd.html.haml

See merge request gitlab-org/gitlab!58269
parents cc4e3c68 a7acf29e
= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'gl-show-field-errors') do = form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'gl-show-field-errors') do
.form-group .form-group
= label_tag :username, 'Username or email' = label_tag :username, _('Username or email')
= text_field_tag :username, nil, { class: "form-control top", title: "This field is required", autofocus: "autofocus", required: true } = text_field_tag :username, nil, { class: "form-control top", title: _("This field is required."), autofocus: "autofocus", required: true }
.form-group .form-group
= label_tag :password = label_tag :password
= password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", required: true } = password_field_tag :password, nil, { class: "form-control bottom", title: _("This field is required."), required: true }
- if devise_mapping.rememberable? - if devise_mapping.rememberable?
.remember-me .remember-me
%label{ for: "remember_me" } %label{ for: "remember_me" }
= check_box_tag :remember_me, '1', false, id: 'remember_me' = check_box_tag :remember_me, '1', false, id: 'remember_me'
%span Remember me %span= _('Remember me')
= submit_tag "Sign in", class: "gl-button btn-confirm btn" = submit_tag _("Sign in"), class: "gl-button btn-confirm btn"
---
title: Externalize strings in sessions/_new_crowd.html.haml
merge_request: 58269
author: nuwe1
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment