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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
693 B
Text
Raw Normal View History

2022-07-16 23:28:13 +05:30
= form.label :name, s_('Profiles|Full name')
2020-03-13 15:44:24 +05:30
- if user.read_only_attribute?(:name)
2022-07-16 23:28:13 +05:30
= form.text_field :name, class: 'gl-form-input form-control', required: true, readonly: true
%small.form-text.text-gl-muted
= 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) }
2020-03-13 15:44:24 +05:30
- else
2022-07-16 23:28:13 +05:30
= form.text_field :name, class: 'gl-form-input form-control', required: true, title: s_("Profiles|Using emojis in names seems fun, but please try to set a status message instead")
%small.form-text.text-gl-muted
= s_("Profiles|Enter your name, so people you know can recognize you")