Project

General

Profile

« Previous | Next » 

Revision 9b79e4f1

Added by Daniel Lobato Garcia about 9 years ago

Fixes #9886 - Caps on password warning is not html safe

View differences:

app/helpers/layout_helper.rb
addClass options, 'form-control'
f.password_field(attr, options) +
'<span class="glyphicon glyphicon-warning-sign input-addon"
title="' + _('Caps lock ON') + '" style="display:none"></span>'.html_safe
title="'.html_safe + _('Caps lock ON') +
'" style="display:none"></span>'.html_safe
end
end

Also available in: Unified diff