debian-mirror-gitlab/app/views/profiles/_name.html.haml

6 lines
715 B
Text
Raw Normal View History

2020-03-13 15:44:24 +05:30
- if user.read_only_attribute?(:name)
2021-03-11 19:13:27 +05:30
= form.text_field :name, class: 'gl-form-input', required: true, readonly: true, wrapper: { class: 'col-md-9 qa-full-name rspec-full-name' },
2020-03-13 15:44:24 +05:30
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
2021-03-11 19:13:27 +05:30
= 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")