    def render_input(value, opts = {})
      value ||= {}

      str = (self[:field_options]["options"] || []).each_with_index.map do |option, i|
        checked = value.present? ? value[option['label']] : (option['checked'] == 'true')

        """
          <label class='fb-option'>
            <input type='checkbox' name='response_fields[#{self[:id]}][#{i}]' #{checked ? 'checked' : ''} value='on' />
            #{option['label']}
          </label>
        """
      end.join('')

      if self[:field_options]['include_other_option']
        str += """
          <div class='fb-option'>
            <label>
              <input type='checkbox' name='response_fields[#{self[:id]}][other_checkbox]' #{value['Other'] ? 'checked' : ''} value='on' />
              Other
            </label>

            <input type='text' name='response_fields[#{self[:id]}][other]' value='#{value['Other']}' />
          </div>
        """
      end

      str
    end