Skip to content
Snippets Groups Projects
instance-form.component.html 1.22 KiB
Newer Older
  • Learn to ignore specific revisions
  • <form [formGroup]="form" (ngSubmit)="submit()" novalidate>
        <accordion [isAnimated]="true">
            <accordion-group heading="General information" [isOpen]="true">
                <div class="form-group">
                    <label for="name">Name</label>
                    <input id="name" type="text" class="form-control" id="name" name="name" formControlName="name">
                </div>
                <div class="form-group">
                    <label for="label">Label</label>
                    <input id="label" type="text" class="form-control" id="label" name="label" formControlName="label">
                </div>
                <div class="form-group">
                    <label for="client_url">Client URL</label>
                    <input id="client_url" type="text" class="form-control" id="client_url" name="client_url" formControlName="client_url">
                </div>
            </accordion-group>
    
            <app-design-form-group [form]="designFormGroup"></app-design-form-group>
    
            <app-search-form-group [form]="searchFormGroup"></app-search-form-group>
            <app-documentation-form-group [form]="documentationFormGroup"></app-documentation-form-group>
    
        </accordion>
        <div class="form-group pt-4">
            <ng-content></ng-content>
        </div>
    </form>