<div class="tab stories sheet-part {{#if @root.tabs.stories.active}}active{{/if}}" data-group="sheet" data-tab="stories">
  <section class="flexrow flex-group-left flex-align-left gap-md">
    <div>
      <h4>{{ localize 'IDENTITY.theme'}}</h4>
      {{#if isEditMode}}
      <textarea
        name="system.identity.theme">{{ system.identity.theme }}</textarea>
      {{else}}
      <p>{{{ system.identity.theme }}}</p>
      {{/if}}
      <h4>{{ localize 'IDENTITY.objectives'}}</h4>
      {{#if isEditMode}}
      <textarea
        name="system.identity.objectives">{{ system.identity.objectives }}</textarea>
      {{else}}
      <p>{{{ system.identity.objectives }}}</p>
      {{/if}}
    </div>
    <div>
      <h4>{{ localize 'IDENTITY.instincts'}}</h4>
      {{#if isEditMode}}
      <textarea
        name="system.identity.instincts">{{ system.identity.instincts }}</textarea>
      {{else}}
      <p>{{{ system.identity.instincts }}}</p>
      {{/if}}
      <h4>{{ localize 'IDENTITY.prohibits'}}</h4>
      {{#if isEditMode}}
      <textarea
        name="system.identity.prohibits">{{ system.identity.prohibits }}</textarea>
      {{else}}
      <p>{{{ system.identity.prohibits }}}</p>
      {{/if}}
    </div>
  </section>
  <section class="flexcol ">
    <div>
      <fieldset>
        <legend><h4>{{ localize 'IDENTITY.notes'}}</h4></legend>
        {{formInput systemFields.identity.fields.biography enriched=enrichedBiography value=system.identity.biography name="system.identity.biography" toggled=true}}
      </fieldset>
    </div>
    <div>
      <fieldset>
        <legend><h4>{{ localize 'IDENTITY.relations'}}</h4></legend>
        {{formInput systemFields.identity.fields.relations enriched=enrichedRelations value=system.identity.relations name="system.identity.relations" toggled=true}}
      </fieldset>
    </div>
  </section>
</div>
