debian-mirror-gitlab/app/views/profiles/_name.html.haml
2022-08-13 15:12:31 +05:30

9 lines
695 B
Text

= form.label :name, s_('Profiles|Full name')
- if user.read_only_attribute?(:name)
= 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) }
- else
= 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.")