{{#d-modal-body title="topic.topic_status_update.title" autoFocus="false"}}
  {{edit-topic-timer-form
    topic=model
    topicTimer=topicTimer
    timerTypes=publicTimerTypes
    updateTime=updateTime
    onChangeStatusType=(action "onChangeStatusType")
    onChangeInput=(action "onChangeInput")
    onChangeDuration=(action "onChangeDuration")
  }}
{{/d-modal-body}}

<div class="modal-footer">
  {{d-button class="btn-primary"
      disabled=saveDisabled
      label="topic.topic_status_update.save"
      action=(action "saveTimer")}}

  {{conditional-loading-spinner size="small" condition=loading}}

  {{#if topicTimer.execute_at}}
    {{d-button class="pull-right btn-danger"
        action=(action "removeTimer")
        label="topic.topic_status_update.remove"}}
  {{/if}}
</div>
