Update fallback texts and add an ind so label and input are paired properly

This commit is contained in:
BatJan
2021-10-26 17:42:07 +02:00
committed by Nathan Woulfe
parent 612f52985f
commit 3ee289fd2f

View File

@@ -23,22 +23,22 @@
<div class="control-group umb-control-group" ng-if="vm.dataType.id !== 0">
<umb-icon icon="icon-alert" class="red"></umb-icon>
<strong class="red"><localize key="contentTypeEditor_allDocumentTypes"></localize></strong> using this editor will get updated with the new settings.
<strong class="red"><localize key="contentTypeEditor_allDocumentTypes">All Document Types</localize></strong> <localize key="usingEditor">using this editor will get updated with the new settings.</localize>
</div>
<div class="control-group umb-control-group">
<div class="umb-el-wrap">
<label class="control-label" for="dataTypeName">
<localize key="name"></localize>
<localize key="general_name">Name</localize>
</label>
<div class="controls">
<input type="text" ng-model="vm.dataType.name" class="umb-property-editor" umb-auto-focus focus-on-filled="true" required />
<input type="text" id="dataTypeName" ng-model="vm.dataType.name" class="umb-property-editor" umb-auto-focus focus-on-filled="true" required />
</div>
</div>
</div>
<div ng-if="vm.dataType.preValues.length > 0">
<h5><localize key="contentTypeEditor_configuration"></localize></h5>
<h5><localize key="contentTypeEditor_configuration">Configuration</localize></h5>
<umb-property property="preValue" ng-repeat="preValue in vm.dataType.preValues">
<umb-property-editor model="preValue" is-pre-value="true"></umb-property-editor>