=f.text_field:name,class: "form-control top",required: true,title: "This field is required."
%div.username.form-group
.username.form-group
=f.label:username
=f.text_field:username,class: "form-control middle",pattern: Gitlab::Regex::NAMESPACE_REGEX_STR_SIMPLE,required: true,title: 'Please create a username with only alphanumeric characters.'
%p.validation-error.hide Username is already taken.