<form>
  <div class="control-group">
    {{combo-box
      class="timer-type"
      onChange=onChangeStatusType
      content=timerTypes
      value=statusType
    }}
  </div>
  {{#if publishToCategory}}
    <div class="control-group">
      <label class="control-label">{{i18n "topic.topic_status_update.publish_to"}}</label>
      {{category-chooser
        value=topicTimer.category_id
        excludeCategoryId=excludeCategoryId
        onChange=(action (mut topicTimer.category_id))
      }}
    </div>
  {{/if}}
  {{#if showFutureDateInput}}
    <label class="control-label">{{i18n "topic.topic_status_update.when"}}</label>
    {{time-shortcut-picker
      prefilledDatetime=topicTimer.execute_at
      onTimeSelected=onTimeSelected
      customOptions=customTimeShortcutOptions
      hiddenOptions=hiddenTimeShortcutOptions
      mousetrap=_mousetrap
    }}
  {{/if}}
  {{#if useDuration}}
    <div class="controls">
      <label class="control-label">Duration</label>
      {{relative-time-picker onChange=(action "durationChanged") durationMinutes=(readonly topicTimer.duration_minutes)}}
    </div>
  {{/if}}
  {{#if willCloseImmediately}}
    <div class="warning">
      {{d-icon "exclamation-triangle"}}
      {{willCloseI18n}}
    </div>
  {{/if}}
  {{#if showTopicTimerInfo}}
    <div class="alert alert-info modal-topic-timer-info">
      {{topic-timer-info
        statusType=statusType
        executeAt=executeAt
        basedOnLastPost=topicTimer.based_on_last_post
        durationMinutes=topicTimer.duration_minutes
        categoryId=topicTimer.category_id
      }}
    </div>
  {{/if}}
</form>
