<div class="form-group">
    {{#if pins}}
    {{#unless disabled}}
    <a class="me-pinned {{#if pinned}}active{{/if}}" title="{{localize 'MassEdit.common.pin'}}"><i class="fas fa-thumbtack"></i></a>&nbsp;
    {{/unless}}
    {{/if}}
    
    {{#if editableLabel}}
    <input class="me-editable-label" type="text" value="{{label}}"/>
    {{else}}
    <label>{{label}}</label>
    {{/if}}
    
    <div class="form-fields">
        {{#if text}}
        <input {{#if colorPicker}}class="color"{{/if}} type="text" name="{{name}}" value="{{value}}" {{disabled disabled}}/>
            {{#if filePicker}}
            <button type="button" class="file-picker" data-type="imagevideo" data-target="{{name}}" title="{{localize 'FILES.BrowseTooltip'}}" tabindex="-1">
                <i class="fas fa-file-import fa-fw"></i>
            </button>
            {{else if colorPicker}}
            <input type="color" value="{{value}}" data-edit="{{name}}">
            {{/if}}
        {{else if number}}
        <input type="number" name="{{name}}" step="any" value="{{value}}" {{disabled disabled}}/>
            {{#if colorPickerNumber}}
            <input class="color-number" type="color" value="{{colorValue}}" data-edit-number="{{name}}">
            {{/if}}
        {{else if boolean}}
        <input type="checkbox" name="{{name}}" {{checked value}} {{disabled disabled}}/>
        {{else if array}}
        <input class="tva-array" type="text" name="{{name}}" value="{{value}}" {{disabled disabled}}/>
        {{else if range}}
        <input type="range" name="{{name}}" value="{{value}}" min="{{min}}" max="{{max}}" step="{{step}}">
        <span class="range-value">{{value}}</span>
        {{else if select}}
        <select name="{{name}}" data-dtype="string">
            {{#each options}}
            <option value="{{this}}">{{this}}</option>
            {{/each}}
        </select>
        {{else if jsonArray}}
        <textarea class="tva-jsonArray" name="{{name}}">{{value}}</textarea>
        {{/if}}
    </div>
</div>