From c9bf0e7c5f60472beb17f247ba1f5b54cf687afc Mon Sep 17 00:00:00 2001 From: Cristian-Baade Date: Thu, 29 Sep 2022 19:48:16 -0300 Subject: [PATCH] Edit "Feito" --- .../main/src/app/edit/edit.component.html | 52 ++++++++++++++++++- frontend/main/src/app/edit/edit.component.ts | 21 +++++++- 2 files changed, 71 insertions(+), 2 deletions(-) diff --git a/frontend/main/src/app/edit/edit.component.html b/frontend/main/src/app/edit/edit.component.html index d1393d8..82b07c2 100644 --- a/frontend/main/src/app/edit/edit.component.html +++ b/frontend/main/src/app/edit/edit.component.html @@ -1 +1,51 @@ -

edit works!

+ +
+
+

Edit your information

+
+
+ + +
+ + +
+ + +
+ + +
+ + +
+
+ + +
+ + +
+ + +
+ + + +
+ +
+ + + + +
+ +
+ + + +
\ No newline at end of file diff --git a/frontend/main/src/app/edit/edit.component.ts b/frontend/main/src/app/edit/edit.component.ts index 83cfc3c..5fba7ea 100644 --- a/frontend/main/src/app/edit/edit.component.ts +++ b/frontend/main/src/app/edit/edit.component.ts @@ -1,4 +1,5 @@ import { Component, OnInit } from '@angular/core'; +import { Router } from '@angular/router'; @Component({ selector: 'app-edit', @@ -6,10 +7,28 @@ import { Component, OnInit } from '@angular/core'; styleUrls: ['./edit.component.css'] }) export class EditComponent implements OnInit { +name!:string +user!:string +birth!:Date +document!:string +email!:string +password!:string + edit: any; - constructor() { } + + + constructor( + private router:Router + + ) { } ngOnInit(): void { } + + alterar(index:number){ + //this.edit.splice() + } + + }