update form from create book
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import {NzFormModule} from "ng-zorro-antd/form";
|
import {NzFormModule} from "ng-zorro-antd/form";
|
||||||
import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
import {FormControl, FormGroup, Validators} from "@angular/forms";
|
||||||
import {NzFlexDirective} from "ng-zorro-antd/flex";
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-create-book',
|
selector: 'app-create-book',
|
||||||
imports: [NzFormModule, ReactiveFormsModule, NzFlexDirective],
|
imports: [NzFormModule],
|
||||||
templateUrl: './create-book.html',
|
templateUrl: './create-book.html',
|
||||||
styleUrl: './create-book.css',
|
styleUrl: './create-book.css',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
|
|
||||||
<h1 class="text-3xl font-bold underline">
|
<h1 class="text-3xl font-bold underline">
|
||||||
Hello world!
|
Hello world!
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<app-create-book></app-create-book>
|
|
||||||
Reference in New Issue
Block a user