enspiral/loomio — pull request #535 by AaronThornton00 (2013-02-27 20:49:23+00:00)
Title: Bug/update user settings

This bug caused problems with uploading avatar images.
The issue was the UI design needed to forms on the one page.

removed complexity of dual forms
ajaxified edit name
encapsulated confusingly named methods into better named methods 'user.has_uploaded_image?' & user.has_gravatar?
set default to gravatar if user has one
refactor user avatar setting options into a partial
refactor avatar/initials condition into a partial