mirror of https://github.com/Squidex/squidex.git
4 changed files with 63 additions and 61 deletions
@ -1,56 +0,0 @@ |
|||
<div [formGroup]="editForm"> |
|||
<div class="form-group row"> |
|||
<label class="col-3 col-form-label" for="{{field.fieldId}}_fieldName">Name</label> |
|||
|
|||
<div class="col-6"> |
|||
<input type="text" class="form-control" id="{{field.fieldId}}_fieldName" readonly [ngModel]="field.name" [ngModelOptions]="{standalone: true}" /> |
|||
|
|||
<sqx-form-hint> |
|||
The name of the field in the API response. |
|||
</sqx-form-hint> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="form-group row"> |
|||
<label class="col-3 col-form-label" for="{{field.fieldId}}_fieldLabel">Label</label> |
|||
|
|||
<div class="col-6"> |
|||
<sqx-control-errors for="label" [submitted]="editFormSubmitted"></sqx-control-errors> |
|||
|
|||
<input type="text" class="form-control" id="{{field.fieldId}}_fieldLabel" maxlength="100" formControlName="label" /> |
|||
|
|||
<sqx-form-hint> |
|||
Define the display name for the field for documentation and user interfaces. |
|||
</sqx-form-hint> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="form-group row"> |
|||
<label class="col-3 col-form-label" for="{{field.fieldId}}_fieldHints">Hints</label> |
|||
|
|||
<div class="col-6"> |
|||
<sqx-control-errors for="hints" [submitted]="editFormSubmitted"></sqx-control-errors> |
|||
|
|||
<input type="text" class="form-control" id="{{field.fieldId}}_fieldHints" maxlength="100" formControlName="hints" /> |
|||
|
|||
<sqx-form-hint> |
|||
Define some hints for the user and editor for the field for documentation and user interfaces. |
|||
</sqx-form-hint> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="form-group row" *ngIf="field.properties.isContentField"> |
|||
<div class="col-6 offset-3"> |
|||
<div class="form-check"> |
|||
<input class="form-check-input" type="checkbox" id="{{field.fieldId}}_fieldListfield" formControlName="isListField" /> |
|||
<label class="form-check-label" for="{{field.fieldId}}_fieldListfield"> |
|||
List Field |
|||
</label> |
|||
</div> |
|||
|
|||
<sqx-form-hint> |
|||
List fields are shown as a column in the content list.<br />When no list field is defined, the first field is used. |
|||
</sqx-form-hint> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
@ -1,2 +0,0 @@ |
|||
@import '_vars'; |
|||
@import '_mixins'; |
|||
Loading…
Reference in new issue