Fixed show/hide of empty partial and fixed devise tokens in emails