{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher

SPDX-License-Identifier: MIT
--}}

<header class="ds4-item-header">
    <img class="ds4-item-header__img" src="{{data.img}}" data-edit="img" alt="{{localize 'DS4.ItemImageAltText'}}"
        title="{{data.name}}" />
    <div class="ds4-item-header__data">
        <h2 class="ds4-item-header__type">{{lookup config.i18n.itemTypes item.type}}</h2>
        <h1 class="ds4-item-header__name">
            <label for="name-{{data._id}}" class="ds4-item-header__name-label">{{localize 'DS4.ItemName'}}</label>
            <input class="ds4-item-header__name-input" name="name" type="text" id="name-{{data._id}}"
                value="{{data.name}}" placeholder="{{localize 'DS4.ItemName'}}" />
        </h1>
    </div>
</header>