{{!-- Stress Affliction Item Sheet --}}
<div class="ua2e-item-sheet stress-affliction-sheet">
  <header class="item-sheet-header flexrow">
    <div class="header-fields">
      <input class="item-name" type="text" name="name" value="{{item.name}}" placeholder="{{localize "UA2E.StressAffliction.Name"}}" />
    </div>
  </header>

  <section class="sheet-body">
    <div class="form-group">
      <label>{{localize "UA2E.StressAffliction.Meter"}}</label>
      <select name="system.meter">
        {{#each meterChoices as |label key|}}
          <option value="{{key}}" {{#if (eq ../system.meter key)}}selected{{/if}}>{{label}}</option>
        {{/each}}
      </select>
    </div>

    <div class="form-group">
      <label>{{localize "UA2E.StressAffliction.Severity"}}</label>
      <input type="number" name="system.severity" value="{{system.severity}}" min="1" max="10" />
    </div>

    <div class="form-group checkbox-group">
      <label>{{localize "UA2E.StressAffliction.Ongoing"}}</label>
      <input type="checkbox" name="system.ongoing" {{#if system.ongoing}}checked{{/if}} />
    </div>

    <div class="form-group">
      <label>{{localize "UA2E.StressAffliction.Description"}}</label>
      {{editor system.description target="system.description" button=true editable=editable engine="prosemirror" collaborate=false}}
    </div>
  </section>
</div>
