<div class='cl-container'>
  <div class='cl-section subscription-dash chat-limit'>
    <div class='section-header clearfix'>
      {{link-to '' 'dashboards.subscription-dash' class='header-back'}}

      <div class='header-content indented'>
        <p class='title'>
          {{i18n "Chat Restrictions"}}
        </p>

        <p class='desc'>
          {{i18n "Set chat restrictions for the chat on your channel"}}
        </p>
      </div>
    </div>

    <form>
      <div class='section-content'>
        <fieldset class='clearfix' id='ticket-name-fieldset'>
          <div class='label-wrapper'>
            <label>
              {{i18n "Subscriber-Only Chat"}}
            </label>
          </div>

          <div class='cl-input-container'>
            <ul>
              <li>
                <label>
                  {{input type="checkbox" checked=subsonlyLocal}}
                  {{i18n "Only subscribers can chat"}}
                </label>
              </li>

              <li>
                <p class='desc'>
                  {{i18n "Disable chat for non-subscribers. Mods are always able to chat even if they are not subscribers."}}
                </p>
              </li>
            </ul>
          </div>
        </fieldset>
      </div>

      <div class='section-content'>
        <fieldset class='clearfix' id='ticket-name-fieldset'>
          <div class='label-wrapper'>
            <label>
              {{i18n "Exclude Subscribers From Slow Mode"}}
            </label>
          </div>

          <div class='cl-input-container'>
            <ul>
              <li>
                <label>
                  {{input type="checkbox" checked=fastsubsLocal}}
                  {{i18n "Subscribers are immune to Slow Mode"}}
                </label>
              </li>

              <li>
                <p class='desc'>
                  {{i18n "While Slow Mode is active in your chat, non-subscribers must wait a number of seconds between messages but subscribers will be immune. Mods are always immune even if they are not subscribers."}}
                </p>
              </li>
            </ul>
          </div>
        </fieldset>

        <div class='cl-button-container submit-button-fieldset'>
          <div class='form-actions'>
            {{saving-button isSaving=isSaving save=(action save) }}
          </div>
        </div>
      </div>
    </form>
  </div>
</div>
