=f.text_field:first_name,class: 'form-control top js-block-emoji js-validate-length',:data=>{:max_length=>max_first_name_length,:max_length_message=>_("First Name is too long (maximum is %{max_length} characters).")%{max_length: max_first_name_length},:qa_selector=>'new_user_firstname_field'},required: true,title: _("This field is required.")
=f.text_field:last_name,class: "form-control top js-block-emoji js-validate-length",:data=>{:max_length=>max_last_name_length,:max_length_message=>_("Last Name is too long (maximum is %{max_length} characters).")%{max_length: max_last_name_length},:qa_selector=>'new_user_lastname_field'},required: true,title: _("This field is required.")
.username.form-group
=f.label:username,class: 'label-bold'
=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.")
=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=>_("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.")
%p.validation-error.gl-field-error-ignore.field-validation.mt-1.hide.cred=_('Username is already taken.')
%p.validation-success.gl-field-error-ignore.field-validation.mt-1.hide.cgreen=_('Username is available.')
=f.text_field:name,class: 'form-control top js-block-emoji js-validate-length',:data=>{:max_length=>max_name_length,:max_length_message=>s_('Name is too long (maximum is %{max_length} characters).')%{max_length: max_name_length},:qa_selector=>'new_user_name_field'},required: true,title: _('This field is required.')
@@ -305,7 +305,7 @@ the report JSON unless stated otherwise. Presence of optional fields depends on
| `vulnerabilities[].location.dependency.package.name` | Name of the package where the vulnerability is located. |
| `vulnerabilities[].location.dependency.version` | Version of the vulnerable package. Optional. |
| `vulnerabilities[].location.operating_system` | The operating system that contains the vulnerable package. |
| `vulnerabilities[].location.image` | The Docker image that was analyzed. Optional. |
| `vulnerabilities[].location.image` | The Docker image that was analyzed. |
| `vulnerabilities[].identifiers` | An ordered array of references that identify a vulnerability on internal or external DBs. |
| `vulnerabilities[].identifiers[].type` | Type of the identifier. Possible values: common identifier types (among `cve`, `cwe`, `osvdb`, and `usn`). |
| `vulnerabilities[].identifiers[].name` | Name of the identifier for display purpose. |