Commit 52e53e0d authored by Jacob Schatz's avatar Jacob Schatz Committed by Yorick Peterse

Merge branch 'disable_spellcheck_for_username_field' into 'master'

Disable spellcheck and autocorrect for username field in admin page

closes #14855

## before
![Screen_Shot_2016-04-19_at_9.25.12_AM](/uploads/19387c4a11a879e9034a2179e932436e/Screen_Shot_2016-04-19_at_9.25.12_AM.png)

## after
![Screen_Shot_2016-04-19_at_9.25.47_AM](/uploads/60f4eba6a97201333dc64e46d625aac2/Screen_Shot_2016-04-19_at_9.25.47_AM.png)

See merge request !3730
parent ee6f941a
...@@ -86,6 +86,10 @@ v 8.7.0 (unreleased) ...@@ -86,6 +86,10 @@ v 8.7.0 (unreleased)
- Fix: Allow empty recipients list for builds emails service when pushed is added (Frank Groeneveld) - Fix: Allow empty recipients list for builds emails service when pushed is added (Frank Groeneveld)
- Improved markdown forms - Improved markdown forms
- Show JavaScript errors in sentry - Show JavaScript errors in sentry
- Diff design updates (colors, button styles, etc)
- Copying and pasting a diff no longer pastes the line numbers or +/-
- Add null check to formData when updating profile content to fix Firefox bug
- Disable spellcheck and autocorrect for username field in admin page
- Delete tags using Rugged for performance reasons (Robert Schilling) - Delete tags using Rugged for performance reasons (Robert Schilling)
- Add Slack notifications when Wiki is edited (Sebastian Klier) - Add Slack notifications when Wiki is edited (Sebastian Klier)
- Diffs load at the correct point when linking from from number - Diffs load at the correct point when linking from from number
......
...@@ -7,17 +7,17 @@ ...@@ -7,17 +7,17 @@
.form-group .form-group
= f.label :name, class: 'control-label' = f.label :name, class: 'control-label'
.col-sm-10 .col-sm-10
= f.text_field :name, required: true, autocomplete: "off", class: 'form-control' = f.text_field :name, required: true, autocomplete: 'off', class: 'form-control'
%span.help-inline * required %span.help-inline * required
.form-group .form-group
= f.label :username, class: 'control-label' = f.label :username, class: 'control-label'
.col-sm-10 .col-sm-10
= f.text_field :username, required: true, autocomplete: "off", class: 'form-control' = f.text_field :username, required: true, autocomplete: 'off', autocorrect: 'off', autocapitalize: 'off', spellcheck: false, class: 'form-control'
%span.help-inline * required %span.help-inline * required
.form-group .form-group
= f.label :email, class: 'control-label' = f.label :email, class: 'control-label'
.col-sm-10 .col-sm-10
= f.text_field :email, required: true, autocomplete: "off", class: 'form-control' = f.text_field :email, required: true, autocomplete: 'off', class: 'form-control'
%span.help-inline * required %span.help-inline * required
- if @user.new_record? - if @user.new_record?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment