<form class="{{cssClass}} {{actor.type}} flexcol" autocomplete="off">

    {{!-- Sheet Tab Navigation --}}
    <nav class="sheet-tabs tabs" style="flex: 0" data-group="primary">
        <a class="item" data-tab="meta">Talent</a>
        <a class="item" data-tab="description">Regeltext</a>
    </nav>

    {{!-- Sheet Body --}}
    <section class="sheet-body" style="flex: 1">

        <div class="tab meta" data-group="primary" data-tab="meta">
            <div class="category">
                <label>Kategorie
                    <select name="system.gruppe">
                        {{selectOptions categoryOptions selected=system.gruppe inverted=true}}
                    </select>
                </label>
            </div>
            <div class="taw">
                <label>TAW:
                    <input type="text" name="system.taw"
                           value="{{system.taw}}"/>
                </label>
            </div>
            {{#if isTalent}}
            <div class="statistics">
                <label class="throw">Probe</label>
                <div>
                    <label>
                        <input type="text" name="system.probe.0"
                               value="{{system.probe.[0]}}"/>
                    </label>
                </div>
                <div><label>
                    <input type="text" name="system.probe.1"
                           value="{{system.probe.[1]}}"/>
                </label></div>
                <div>
                    <label>
                        <input type="text" name="system.probe.2"
                               value="{{system.probe.[2]}}"/>
                    </label>
                </div>
            </div>
            {{/if}}
            <div class="ebe">
                <label>Effektive Behinderung
                    <input type="text" name="system.behinderung" value="{{system.behinderung}}"/>
                </label>
            </div>
            {{#if isLanguage}}
            <div class="language-statistics">
                <label>Sprachenkomplexizität
                    <input type="text" name="system.komplexität" value="{{system.komplexität}}"/>
                </label>
            </div>
            {{/if}}
            {{#if isCombat}}
            <div class="attack-statistics">
                <div>
                    <label>Attacke
                        <input type="text" name="system.at" value="{{system.at}}"/>
                    </label>
                </div>
                <div>
                    <label>Parade
                        <input type="text" name="system.pa" value="{{system.pa}}"/>
                    </label>
                </div>
            </div>
            {{/if}}

        </div>
        <div class="tab description" data-group="primary" data-tab="description">
            <div>
                <label>Beschreibungstext</label>
                {{editor system.talent target="system.talent" button=true owner=owner editable=editable}}
            </div>
            {{#if hasRequirement}}
            <div>
                <label>Voraussetzung</label>
                <ul>
                    {{#each system.voraussetzung}}
                        <li>
                            <input type="text" name="system.vorraussetzung.{{@key}}.wert" value="{{this}}"/>
                            <input type="text" name="system.vorraussetzung.{{@key}}.talent" value="{{this}}"/>
                        </li>
                    {{/each}}
                </ul>
            </div>
            {{/if}}
        </div>

        </div>
    </section>
</form>
