Skip to content

Commit

Permalink
fix aria attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellhenke committed Oct 27, 2020
1 parent 58fdbe0 commit a2939ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/sign_up/passwords/new.html.slim
Expand Up @@ -8,8 +8,8 @@ p.mt2.mb0#password-description
method: :post,
html: { role: 'form', autocomplete: 'off' }) do |f|
= f.input :password, required: true,
input_html: { aria: { invalid: false,
class: 'password-toggle', describedby: 'password-description' } }
input_html: { aria: { invalid: false, describedby: 'password-description' },
class: 'password-toggle' }
= render 'devise/shared/password_strength'
= hidden_field_tag :confirmation_token, @confirmation_token, id: 'confirmation_token'
= f.input :request_id, as: :hidden, input_html: { value: params[:request_id] || request_id }
Expand Down

0 comments on commit a2939ef

Please sign in to comment.