             return
 
     render_upgrade_row: (quota, total, remaining, current, yours, num_projects) ->
-        # This involves determining what each project has had applied to it
-        # already by instructor or others.
         {display, desc, display_factor, display_unit, input_type} = schema.PROJECT_UPGRADES.params[quota]
         yours         *= display_factor
         current       *= display_factor

        ref = "upgrade_#{quota}"
        if input_type == 'number'
            val = @state.upgrades[quota] ? misc.round1(yours / num_projects)
            if not @is_upgrade_input_valid(val*num_projects, limit)
                bs_style = 'error'
                @_upgrade_is_invalid = true
            <span>

            </span>
        else if input_type == 'checkbox'
            val = @state.upgrades[quota] ? (if yours > 0 then 1 else 0)
            is_valid = @is_upgrade_input_valid(val, limit)
            if not is_valid
                @_upgrade_is_invalid = true
                label = "Can't enable -- not enough upgrades"
            else
                label = if val == 0 then 'Enable' else 'Enabled'
            <form>
                <Input
                    ref      = {ref}
                    type     = 'checkbox'
                    checked  = {val > 0}
                    label    = {label}
                    onChange = {=>u=@state.upgrades; u[quota] = (if @refs[ref].getChecked() then 1 else 0); @setState(upgrades:u)}
                    />
            </form>
