{{#each spellcastingEntries as |entry eid|}}
  1. {{#if entry.isPrepared}} {{/if}}

    {{#if ../options.editable}}
    {{#if (or entry.isPrepared entry.isSpontaneous entry.isInnate)}} {{/if}} {{#unless entry.isRitual}}{{/unless}}
    {{/if}}
    {{> systems/pf2e/templates/actors/spellcasting-spell-list.html entry=entry}}
  2. {{/each}}
{{#if options.editable}} {{/if}}