.id">
.id" readonly />
<%_ for (idx in fields) {
const fieldName = fields[idx].fieldName;
const fieldNameCapitalized = fields[idx].fieldNameCapitalized;
const fieldNameHumanized = fields[idx].fieldNameHumanized;
const fieldType = fields[idx].fieldType;
const fieldTypeBlobContent = fields[idx].fieldTypeBlobContent;
let fieldInputType = 'text';
let ngModelOption = '';
const translationKey = keyPrefix + fieldName;
if (fieldType == 'Integer' || fieldType == 'Long' || fieldType == 'Float' || fieldType == 'Double' || fieldType == 'BigDecimal') {
fieldInputType = 'number';
} else if (fieldType == 'LocalDate') {
fieldInputType = 'date';
} else if (fieldType == 'ZonedDateTime') {
fieldInputType = 'datetime-local';
} else if (fieldType == 'Boolean') {
fieldInputType = 'checkbox';
} else if ((fieldType == 'byte[]' || fieldType == 'ByteBuffer') && fieldTypeBlobContent != 'text') {
fieldInputType = 'hidden';
} _%>
<%_ } _%>
<%_ for (idx in relationships) {
const relationshipType = relationships[idx].relationshipType;
const ownerSide = relationships[idx].ownerSide;
const otherEntityName = relationships[idx].otherEntityName;
const otherEntityNamePlural = relationships[idx].otherEntityNamePlural;
const otherEntityNameCapitalized = relationships[idx].otherEntityNameCapitalized;
const relationshipName = relationships[idx].relationshipName;
const relationshipNameHumanized = relationships[idx].relationshipNameHumanized;
const relationshipFieldName = relationships[idx].relationshipFieldName;
const relationshipFieldNamePlural = relationships[idx].relationshipFieldNamePlural;
const otherEntityField = relationships[idx].otherEntityField;
const otherEntityFieldCapitalized = relationships[idx].otherEntityFieldCapitalized;
const relationshipRequired = relationships[idx].relationshipRequired;
const translationKey = keyPrefix + relationshipName; _%>
<%_ if (relationshipType == 'many-to-one' || (relationshipType == 'one-to-one' && ownerSide == true && otherEntityName == 'user')) { _%>
<%_ if (dto == 'no') { _%>
<%_ } else { _%>
<%_ } _%>
<%_ } else if (relationshipType == 'one-to-one' && ownerSide == true) { _%>
<%_ if (dto == 'no') { _%>
<%_ } else { _%>
<%_ } _%>
<%_ } else if (relationshipType == 'many-to-many' && relationships[idx].ownerSide == true) { _%>
<%_ } _%>
<%_ if (relationships[idx].relationshipValidate == true) { _%>
?.dirty && editForm.controls.<%= relationshipName %>?.invalid)">
<%_ if (relationshipRequired) { _%>
?.errors?.required" jhiTranslate="entity.validation.required">
This field is required.
<%_ } _%>
<%_ } _%>
<%_ } _%>