<div class="tab info sheet-part" data-group="sheet" data-tab="info">
  <div class="grid grid-2col">
    <div>
      <h4>{{ localize 'IDENTITY.profile' }}</h4>
      {{#if isEditMode}}
      <input type="text" name="system.identity.profile" value="{{system.identity.profile}}"
             placeholder="Profil..." style="width: 100%;" />
      {{else}}
      <span>{{system.identity.profile}}</span>
      {{/if}}
    </div>
    <div>
      <h4>{{ localize 'IDENTITY.origin' }}</h4>
      {{#if isEditMode}}
      <input type="text" name="system.identity.origin" value="{{system.identity.origin}}"
             placeholder="Origine..." style="width: 100%;" />
      {{else}}
      <span>{{system.identity.origin}}</span>
      {{/if}}
    </div>
    <div>
      <h4>{{ localize 'IDENTITY.theme' }}</h4>
      {{#if isEditMode}}
      <input type="text" name="system.identity.theme" value="{{system.identity.theme}}"
             placeholder="Concept..." style="width: 100%;" />
      {{else}}
      <span>{{system.identity.theme}}</span>
      {{/if}}
    </div>
    <div>
      <h4>{{ localize 'ADVERSITY.skills' }}</h4>
      {{#if isEditMode}}
      <input type="text" name="system.skills" value="{{system.skills}}"
             placeholder="Compétences..." style="width: 100%;" />
      {{else}}
      <span>{{system.skills}}</span>
      {{/if}}
    </div>
  </div>

  <div class="grid-span-2">
    <fieldset>
      <legend><h4>{{ localize 'IDENTITY.notes' }}</h4></legend>
      {{formInput systemFields.identity.fields.notes enriched=enrichedNotes value=system.identity.notes name="system.identity.notes" toggled=true}}
    </fieldset>
  </div>

  {{!-- Modes --}}
  <div class="grid-span-2">
    <h4>{{ localize 'VERMINE.modes' }}</h4>
    <div class="grid grid-3col">
      <div>
        <label>
          <input type="checkbox" name="system.modes.survival"
                 {{#if system.modes.survival}}checked{{/if}} data-dtype="Boolean" />
          {{ localize 'GAME_MODES.survival' }}
        </label>
      </div>
      <div>
        <label>
          <input type="checkbox" name="system.modes.nightmare"
                 {{#if system.modes.nightmare}}checked{{/if}} data-dtype="Boolean" />
          {{ localize 'GAME_MODES.nightmare' }}
        </label>
      </div>
      <div>
        <label>
          <input type="checkbox" name="system.modes.apocalypse"
                 {{#if system.modes.apocalypse}}checked{{/if}} data-dtype="Boolean" />
          {{ localize 'GAME_MODES.apocalypse' }}
        </label>
      </div>
    </div>
  </div>
</div>
