Gpii 1018

http://issues.gpii.net/browse/GPII-1018
I'm not sure about all of this markup here like this. It might be better to have a subcomponent that has a template with this markup instead. Then you'd just create that subcomponent for each preferences set.