diff options
Diffstat (limited to 'app/helpers/settings_helper.rb')
-rw-r--r-- | app/helpers/settings_helper.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb index 1fb57b2d7..c1f989805 100644 --- a/app/helpers/settings_helper.rb +++ b/app/helpers/settings_helper.rb @@ -48,7 +48,11 @@ module SettingsHelper errors.each do |name, message| s << content_tag('li', content_tag('b', l("setting_#{name}")) + " " + message) end - content_tag('div', content_tag('ul', s), :id => 'errorExplanation') + + h = ''.html_safe + h << notice_icon('error') + h << content_tag('ul', s) + content_tag('div', h, :id => 'errorExplanation') end def setting_value(setting) @@ -240,6 +244,7 @@ module SettingsHelper ['Mystery man', 'mm'], ['Retro', 'retro'], ['Robohash', 'robohash'], - ['Wavatars', 'wavatar']] + ['Wavatars', 'wavatar'], + ['Initials', 'initials']] end end |