<section class="tab{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
    {{formGroup fields.type value=source.type choices=types rootId=rootId}}
    {{formGroup fields.suit value=source.suit rootId=rootId}}
    {{formGroup fields.value value=source.value rootId=rootId}}

    <div class="form-group">
        <label>{{localize "CARD.Dimensions"}}</label>
        <div class="form-fields">
            <label for="{{rootId}}-width">{{localize "DOCUMENT.FIELDS.width.label"}}</label>
            {{formInput fields.width value=source.width id=(concat rootId "-width")}}
            <label for="{{rootId}}-height">{{localize "DOCUMENT.FIELDS.height.label"}}</label>
            {{formInput fields.height value=source.height id=(concat rootId "-height")}}
            <label for="{{rootId}}-rotation">{{localize "DOCUMENT.FIELDS.rotation.label"}}</label>
            {{formInput fields.rotation value=source.rotation id=(concat rootId "-rotation")}}
        </div>
    </div>

    {{formGroup fields.description value=source.description compact=true rootId=rootId}}
</section>
