Files
2025-01-04 00:34:03 +01:00

24 lines
1.4 KiB
Handlebars

<section class="tab region-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
{{formField fields.name value=source.name placeholder=source.name localize=true}}
{{formField fields.color value=source.color localize=true}}
<div class="form-group slim">
<label>{{localize "REGION.FIELDS.elevation.label"}}</label>
<div class="form-fields">
<label>{{localize "REGION.FIELDS.elevation.FIELDS.bottom.label"}}</label>
<input name="elevation.bottom" type="number" value="{{source.elevation.bottom}}"
class="placeholder-fa-solid" placeholder="&#xF068 &#xF534;" step="any"
data-tooltip="{{localize "REGION.FIELDS.elevation.FIELDS.bottom.hint"}}"
aria-label="{{localize "REGION.FIELDS.elevation.FIELDS.bottom.hint"}}">
<label>{{localize "REGION.FIELDS.elevation.FIELDS.top.label"}}</label>
<input name="elevation.top" type="number" value="{{source.elevation.top}}"
class="placeholder-fa-solid" placeholder="&#x002B &#xF534;" step="any"
data-tooltip="{{localize "REGION.FIELDS.elevation.FIELDS.top.hint"}}"
aria-label="{{localize "REGION.FIELDS.elevation.FIELDS.top.hint"}}">
</div>
<p class="hint">{{localize "REGION.FIELDS.elevation.hint"}}</p>
</div>
{{formField fields.visibility value=source.visibility localize=true}}
</section>