         $date: 0
       end_time:
         $date: 0
+      competition_name: ""
+      competition_url: ""
       enable_feedback: true
       email:
         email_verification: false

      $set:
        enable_feedback: !@state.enable_feedback

  updateStartTime: (value) ->
    @setState update @state,
      $set:

    feedbackDescription = "Users will be able to review problems when this feature is enabled. The ratings will be available to you
      on the Problem tab."

    competitionNameDescription = "The name of the competition."
    competitionURLDescription = "The base URL for the competition website. This must be set in order for users to reset
      their passwords."

    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["$date"]} onChange=@updateStartTime description={startTimeDescription}/>
      <TimeEntry name="Competition End Time" value={@state.end_time["$date"]} onChange=@updateEndTime description={endTimeDescription}/>

