   Handlebars.registerHelper "button",(text_key, options) ->
     #console.log "button", i18n.t(text_key)
     opt = options.hash or {}
-    if opt.role  isnt undefined and !Fmk.Helpers.userHelper.hasRole(opt.role)
+    if opt.role  isnt undefined and !Focus.Helpers.userHelper.hasRole(opt.role)
       return ""
     isLoading =  opt.isLoading
     cssClass = opt.class or ""

    {{/hasRole}}
  ###
  Handlebars.registerHelper "hasRole", (property, options)->
    if _.isString(property) and Fmk.Helpers.userHelper.hasRole(property)
      return options.fn(this)

  # Generate the bootstrap css classes for the grid.

  Handlebars.registerHelper "hasOneRole", (property, options)->
    if _.isString(property)
      roles = property.split(',')
      if Focus.Helpers.userHelper.hasOneRole(roles)
        return options.fn(this)

  # Check if the user has a role.
