You are on page 1of 1

Objective: Allow the user to add a new tenant using a tenant form

---------

note: Take note of the routes and the tags

steps:
-----
1.Add an 'Add tenant button ' to the tenantdetails template html
2.Include the routes in the app module to navigate to the form on click of the add
button.
appRoutes { path: add-tenant component:addTenants}
3.Include the forms module in the App Module and add it to the imports array
4. Add a form in addTenant template html
boootstrap
back to dash board link = routerLink = "/"

You might also like