idk
This commit is contained in:
parent
1b1224cba0
commit
20c04abe4f
8 changed files with 102 additions and 30 deletions
35
src/app/hotel/create-hotel.component.ts
Normal file
35
src/app/hotel/create-hotel.component.ts
Normal file
|
@ -0,0 +1,35 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {FormsModule} from "@angular/forms";
|
||||
|
||||
@Component({
|
||||
selector: 'app-create-hotel',
|
||||
standalone: true,
|
||||
imports: [
|
||||
FormsModule
|
||||
],
|
||||
template: `
|
||||
<ng-form>
|
||||
<label for="name">Name</label>
|
||||
<br>
|
||||
<input id="name" type="text">
|
||||
<br>
|
||||
<label for="description">Description</label>
|
||||
<br>
|
||||
<input id="description" type="text">
|
||||
<br>
|
||||
<label for="price">Price</label>
|
||||
<br>
|
||||
<input id="price" type="number">
|
||||
<br>
|
||||
<label for="rating">Rating</label>
|
||||
<br>
|
||||
<input id="rating" type="number">
|
||||
<br>
|
||||
<br>
|
||||
<button type="submit">Submit</button>
|
||||
</ng-form>
|
||||
`,
|
||||
})
|
||||
export class CreateHotelComponent {
|
||||
|
||||
}
|
Reference in a new issue