<DModalBody
  @title={{if
    this.model.notice
    "post.controls.change_post_notice"
    "post.controls.add_post_notice"
  }}
>
  <form><Textarea @value={{this.notice}} /></form>
</DModalBody>

<div class="modal-footer">
  <DButton
    @class="btn-primary"
    @label={{if this.saving "saving" "save"}}
    @action={{action "setNotice" this.notice}}
    @disabled={{this.disabled}}
  />
  {{#if this.model.notice}}
    <DButton
      @class="btn-danger"
      @label="post.controls.delete_post_notice"
      @action={{action "setNotice"}}
      @disabled={{this.saving}}
    />
  {{/if}}
  <DModalCancel @close={{route-action "closeModal"}} />
</div>