```coffeescript
{ formatQuestionType } = require 'meteor/gq:helpers'

Template.basic_results_info.helpers
  hasRange: ->
    @type in ['number', 'scale']

  formatQuestionType: -> formatQuestionType(@type)

Template.type_icon.helpers
  icon: ->
    type = Template.instance().data.type
    switch type
      when 'checkboxes'
        'check-square-o'
      when 'datetime'
        'clock-o'
      when 'date'
        'calendar'
      when 'longAnswer'
        'align-left'
      when 'multipleChoice'
        'list-ul'
      when 'number'
        'hashtag'
      when 'scale'
        'sliders'
      when 'shortAnswer'
        'minus'
```

Move formatQuestionType helper to correct template
user
```coffeescript
{ formatQuestionType } = require 'meteor/gq:helpers'

Template.basic_results_info.helpers
  hasRange: ->
    @type in ['number', 'scale']

Template.type_icon.helpers
  icon: ->
    type = Template.instance().data.type
    switch type
      when 'checkboxes'
        'check-square-o'
      when 'datetime'
        'clock-o'
      when 'date'
        'calendar'
      when 'longAnswer'
        'align-left'
      when 'multipleChoice'
        'list-ul'
      when 'number'
        'hashtag'
      when 'scale'
        'sliders'
      when 'shortAnswer'
        'minus'

  formatQuestionType: -> formatQuestionType(@type)
```
assistant