{{dashboards/subscription-dash/feature-header
  title=(bits-string 'pinned_cheer_header')
  desc=(bits-string 'pinned_cheer_desc')
}}

<form {{action 'save' on='submit'}}>
  {{#dashboards/subscription-dash/feature-row title=(bits-string 'pinned_cheer_recent_cheers_title')}}
    <label class="subdash-feature__label">
      {{input type='checkbox' checked=pinRecentCheers}}
      {{bits-string 'pinned_cheer_show_recent'}}
    </label>

    <p>
      {{bits-string 'pinned_cheer_show_recent_desc'}}
    </p>
  {{/dashboards/subscription-dash/feature-row}}

  {{#dashboards/subscription-dash/feature-row title=(bits-string 'pinned_cheer_recent_timeout_title')}}
    <label class="subdash-feature__label">
      {{input type='checkbox' checked=enableTimeout}}
      {{bits-string 'pinned_cheer_recent_timeout'}}
    </label>

    <p>
      {{bits-string 'pinned_cheer_recent_timeout_desc'}}
    </p>

    <label class="subdash-feature__label mg-t-1 flex flex--verticalCenter">
      <span class="flex__item">
        {{input value=recentCheerTimeout disabled=disableTimeout class='string mg-0' type='number' min='5' max='300'}}
      </span>
      <span class="flex__item mg-l-1">
        {{bits-string 'pinned_cheer_recent_timeout_seconds'}}
      </span>
    </label>
  {{/dashboards/subscription-dash/feature-row}}

  {{#dashboards/subscription-dash/feature-row title=(bits-string 'pinned_cheer_top_cheer_title')}}
    <label class="subdash-feature__label">
      {{input type='checkbox' checked=pinTopCheers}}
      {{bits-string 'pinned_cheer_top_cheer_check'}}
    </label>

    <p class="mg-b-1">
      {{bits-string 'pinned_cheer_top_cheer_desc'}}
    </p>

    <button class="button" type="button" {{action 'resetTopCheer'}}>
      {{bits-string 'pinned_cheer_reset_top_cheer'}}
    </button>
  {{/dashboards/subscription-dash/feature-row}}

  {{#dashboards/subscription-dash/feature-row title=(bits-string 'pinned_cheer_min_bits_title')}}
    {{input value=recentCheerMin class='string full-width block mg-b-1' type='number' min='1' max='1000000'}}
    <p>
      {{bits-string 'pinned_cheer_min_bits_desc'}}
    </p>
  {{/dashboards/subscription-dash/feature-row}}

  <div class="subdash-feature-section__buttons">
    {{saving-button isSaving=isSaving type='submit' save=(action 'noop')}}
  </div>
</form>
