File: _name.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (10 lines) | stat: -rw-r--r-- 761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
= 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
  .form-text.gl-text-subtle
    = 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 emoji in names seems fun, but please try to set a status message instead")
  .form-text.gl-text-subtle
    = s_("Profiles|Enter your name, so people you know can recognize you.")
    = safe_format(_("Profiles|No \"<\" or \">\" characters, please."))