-read_only_help_text=readonly?s_("Profiles|Your email address was automatically set based on your %{provider_label} account")%{provider_label: attribute_provider_label(:email)}:user_email_help_text(@user)
-read_only_help_text=readonly?s_("Profiles|Your email address was automatically set based on your %{provider_label} account")%{provider_label: attribute_provider_label(:email)}:user_email_help_text(@user)
-help_text=email_change_disabled?s_("Your account uses dedicated credentials for the \"%{group_name}\" group and can only be updated through SSO.")%{group_name: @user.managing_group.name}:read_only_help_text
-help_text=email_change_disabled?s_("Your account uses dedicated credentials for the \"%{group_name}\" group and can only be updated through SSO.")%{group_name: @user.managing_group.name}:read_only_help_text
help: s_("Profiles|Your name was automatically set based on your %{provider_label} account, so people you know can recognize you")%{provider_label: attribute_provider_label(:name)}
help: s_("Profiles|Your name was automatically set based on your %{provider_label} account, so people you know can recognize you")%{provider_label: attribute_provider_label(:name)}
-else
-else
=form.text_field:name,label: s_('Profiles|Full name'),required: true,title: s_("Profiles|Using emojis in names seems fun, but please try to set a status message instead"),wrapper: {class: 'col-md-9 qa-full-name rspec-full-name'},help: s_("Profiles|Enter your name, so people you know can recognize you")
=form.text_field:name,class: 'gl-form-input',label: s_('Profiles|Full name'),required: true,title: s_("Profiles|Using emojis in names seems fun, but please try to set a status message instead"),wrapper: {class: 'col-md-9 qa-full-name rspec-full-name'},help: s_("Profiles|Enter your name, so people you know can recognize you")
=f.text_field:location,readonly: true,help: s_("Profiles|Your location was automatically set based on your %{provider_label} account")%{provider_label: attribute_provider_label(:location)}
=f.text_field:location,class: 'gl-form-input',readonly: true,help: s_("Profiles|Your location was automatically set based on your %{provider_label} account")%{provider_label: attribute_provider_label(:location)}
=f.text_field:organization,label: s_('Profiles|Organization'),class: 'input-md',help: s_("Profiles|Who you represent or work for")
=f.text_field:organization,label: s_('Profiles|Organization'),class: 'input-md gl-form-input',help: s_("Profiles|Who you represent or work for")
=f.text_area:bio,label: s_('Profiles|Bio'),rows: 4,maxlength: 250,help: s_("Profiles|Tell us about yourself in fewer than 250 characters")
=f.text_area:bio,class: 'gl-form-input',label: s_('Profiles|Bio'),rows: 4,maxlength: 250,help: s_("Profiles|Tell us about yourself in fewer than 250 characters")
help: s_("Profiles|Your name was automatically set based on your %{provider_label} account, so people you know can recognize you")%{provider_label: attribute_provider_label(:name)}
help: s_("Profiles|Your name was automatically set based on your %{provider_label} account, so people you know can recognize you")%{provider_label: attribute_provider_label(:name)}
-elsifcan?(current_user,:update_name,user)
-elsifcan?(current_user,:update_name,user)
=form.text_field:name,label: s_('Profiles|Full name'),required: true,title: s_("Profiles|Using emojis in names seems fun, but please try to set a status message instead"),wrapper: {class: 'col-md-9 qa-full-name rspec-full-name'},help: s_("Profiles|Enter your name, so people you know can recognize you")
=form.text_field:name,class: 'gl-form-input',label: s_('Profiles|Full name'),required: true,title: s_("Profiles|Using emojis in names seems fun, but please try to set a status message instead"),wrapper: {class: 'col-md-9 qa-full-name rspec-full-name'},help: s_("Profiles|Enter your name, so people you know can recognize you")