<section
    class='tab {{tabs.settings.cssClass}} {{tabs.settings.id}}'
    data-tab='{{tabs.settings.id}}'
    data-group='{{tabs.settings.group}}'
>
    {{#if (eq source.system.beastformType 'evolved')}}
        {{formGroup systemFields.tier value=source.system.tier localize=true}}
    {{else}}
        <div class="two-columns even">
            {{formGroup systemFields.tier value=source.system.tier localize=true}}
            {{formGroup systemFields.mainTrait value=source.system.mainTrait blank=false localize=true}}
        </div>

        {{#unless (eq source.system.beastformType 'hybrid')}}
            {{formGroup systemFields.examples value=source.system.examples localize=true}}
            <div class="advantage-on-section">
                <label>{{localize "DAGGERHEART.ITEMS.Beastform.FIELDS.advantageOn.label"}}</label>
                <input class="advantageon-input" value="{{advantageOn}}" />
            </div>
        {{/unless}}
    {{/if}}

    <fieldset>
        <legend>{{localize "DAGGERHEART.ITEMS.Beastform.tokenTitle"}}</legend>
        {{#unless (eq source.system.beastformType 'evolved')}}
            <div class="full-width">
                {{formGroup systemFields.tokenImg value=source.system.tokenImg localize=true}}
            </div>

            <div class="full-width">
                {{formGroup systemFields.tokenRingImg value=source.system.tokenRingImg localize=true}}
            </div>
            <div class="nest-inputs">
                {{formGroup systemFields.tokenSize.fields.size value=source.system.tokenSize.size label=(localize "DAGGERHEART.GENERAL.tokenSize") localize=true }}
                {{formGroup 
                    systemFields.tokenSize.fields.height 
                    value=source.system.tokenSize.height 
                    localize=true 
                    placeholder=(localize (ifThen dimensionsDisabled "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.disabledPlaceholder" "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.placeholder")) 
                    disabled=dimensionsDisabled 
                }}
                {{formGroup 
                    systemFields.tokenSize.fields.width 
                    value=source.system.tokenSize.width 
                    localize=true 
                    placeholder=(localize (ifThen dimensionsDisabled "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.disabledPlaceholder" "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.placeholder")) 
                    disabled=dimensionsDisabled 
                }}
                {{formGroup 
                    systemFields.tokenSize.fields.depth 
                    value=source.system.tokenSize.depth 
                    localize=true 
                    placeholder=(localize (ifThen dimensionsDisabled "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.disabledPlaceholder" "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.placeholder")) 
                    disabled=dimensionsDisabled 
                }}
            </div>
            <div class="full-width">
                {{formGroup systemFields.tokenSize.fields.scale value=source.system.tokenSize.scale localize=true }}
            </div>
        {{else}}
            <span class="hint">{{localize "DAGGERHEART.ITEMS.Beastform.evolvedTokenHint"}}</span>
        {{/unless}}
    </fieldset>
</section>