{{#modal-dialog action=closeModal}}
  <div class='card'>
    <div class='text-content'>
      <div class='content-header'>
        <h4>{{i18n 'Clear Playlist'}}</h4>
      </div>
      <div class='item'>
        <p>{{i18n 'Are you sure you want to clear your playlist? Your individual videos will be unaffected.'}}</p>
      </div>
      <div class='buttons'>
        <a {{action closeModal}} class='js-subwindow-close button button--text'>
          <span>{{t 'general.forms.cancel'}}</span>
        </a>
        <button {{action 'clearPlaylist'}} class='js-subwindow-submit button button--alert' type='submit'>
          <span>{{i18n 'Clear Playlist'}}</span>
        </button>
      </div>
    </div>
  </div>
{{/modal-dialog}}
