     @setState update @state,
       $set:
         end_time: value
+
+  updateMaxTeamSize: (e) ->
+    @setState update @state,
+      $set:
+        max_team_size: parseInt(e.target.value)
 
   pushUpdates: ->
     data = {

    startTimeDescription = "Before the competition has started, users will be able to register without viewing the problems."
    endTimeDescription = "After the competition has ended, users will no longer be able to submit keys to the challenges."

    <Well>
      <BooleanEntry name="Receive Problem Feedback" value={@state.enable_feedback} onChange=@toggleFeedbackEnabled description={feedbackDescription}/>
      <TextEntry name="Competition Name" value={@state.competition_name} type="text" onChange=@updateCompetitionName description={competitionNameDescription}/>
      <TextEntry name="Competition URL" value={@state.competition_url} type="text" onChange=@updateCompetitionURL description={competitionURLDescription}/>
      <TimeEntry name="Competition Start Time" value={@state.start_time} onChange=@updateStartTime description={startTimeDescription}/>
      <TimeEntry name="Competition End Time" value={@state.end_time} onChange=@updateEndTime description={endTimeDescription}/>

      <Row>
        <div className="text-center">
          <ButtonToolbar>

      competition_name: ""
      competition_url: ""
      enable_feedback: true
      max_team_size: 1
      email:
        email_verification: false
        parent_verification_email: false
