   putContents: (frequency) ->
 
     @fields = fields =
-      global           :
-        title          : 'Send me email notifications'
-      daily            :
-        title          : 'Send me a daily digest of activity on my posts'
-      privateMessage   :
-        title          : 'When someone sends me a private message'
-      comment          :
-        title          : 'When my post gets a new comment'
-      likeActivities   :
-        title          : 'When someone likes my content'
-      mention          :
-        title          : 'When someone mentions me'
-      marketing        :
-        title          : 'When Koding has member updates <small>Like VM security updates, privacy updates, inactive account notices, offers and campaigns.</small>'
-      pmNotificationDelay:
-        title          : ''
+      global              :
+        title             : 'Send me email notifications'
+      daily               :
+        title             : 'Send me a daily digest of activity on my posts'
+      privateMessage      :
+        title             : 'When someone sends me a private message'
+      comment             :
+        title             : 'When my post gets a new comment'
+      likeActivities      :
+        title             : 'When someone likes my content'
+      mention             :
+        title             : 'When someone mentions me'
+      marketing           :
+        title             : 'When Koding has member updates <small>Like VM security updates, privacy updates, inactive account notices, offers and campaigns.</small>'
+      pmNotificationDelay :
+        title             : ''
 
     view = this
 


  handleGlobalState: (state) ->

    @handleDependency ['daily'], state
    @handleDailyState state and @fields.daily.switch.getValue()


  handleDailyState: (state) ->

    @handleDependency ['privateMessage', 'comment', 'likeActivities', 'mention'], state


  handlePrivateMessageState: (state) ->

    if state
      privateMessage.formView.setClass 'has-sub'
      privateMessage.subSettings.show()
    else
      privateMessage.formView.unsetClass 'has-sub'
      privateMessage.subSettings.hide()
