Merge remote-tracking branch 'foodcoops/master' into feature-receive

This commit is contained in:
wvengen 2014-01-02 18:57:59 +01:00
commit 27a73be68f
16 changed files with 87 additions and 32 deletions

View file

@ -203,5 +203,5 @@ module ApplicationHelper
:title => I18n.t('helpers.application.write_message')
end
end
end

View file

@ -0,0 +1,13 @@
module SharedHelper
# provide input_html for password autocompletion
def autocomplete_flag_to_password_html(password_autocomplete)
case password_autocomplete
when true then {autocomplete: 'on'}
when false then {autocomplete: 'off'}
when 'store-only' then {autocomplete: 'off', data: {store: 'on'}}
else {}
end
end
end