<fieldset>
    <legend>
        <span>{{ localize "DND5E.ATTACK.FIELDS.damage.label" }}</span>
        <button type="button" class="unbutton control-button" data-action="addDamagePart"
                data-tooltip aria-label="{{ localize "DND5E.DAMAGE.Part.Action.Create" }}">
            <i class="fas fa-plus" inert></i>
        </button>
    </legend>
    {{#if (or hasBaseDamage activity.isRider)}}
    {{ formField fields.damage.fields.includeBase value=source.damage.includeBase input=inputs.createCheckboxInput
                 rootId=partId }}
    {{/if}}
    {{ formField fields.damage.fields.critical.fields.bonus value=source.damage.critical.bonus rootId=partId }}
    {{> "systems/dnd5e/templates/activity/parts/damage-parts.hbs" }}
</fieldset>
