=f.text_field:username,class: "form-control middle js-block-emoji js-validate-length js-validate-username",:data=>{:max_length=>max_username_length,:max_length_message=>s_("SignUp|Username is too long (maximum is %{max_length} characters).")%{max_length: max_username_length},:qa_selector=>'new_user_username_field'},pattern: Gitlab::PathRegex::NAMESPACE_FORMAT_REGEX_JS,required: true,title: _("Please create a username with only alphanumeric characters.")
...
...
@@ -27,5 +28,8 @@
-accept_terms_label=_("I accept the %{terms_link}")%{terms_link: terms_link}
=accept_terms_label.html_safe
=render_if_exists'devise/shared/email_opted_in',f: f