Skip to content

Commit

Permalink
rerouted button click to editpage. Now able to click profile page and…
Browse files Browse the repository at this point in the history
… visibly see changed Squeaker fields
  • Loading branch information
nickchoi10 committed Sep 7, 2022
1 parent 57c56a7 commit 0209c5c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/profile-edit/profile-edit.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ <h1>Edit Profile</h1>

<label id="icon" for="name"><i class="icon-envelope"></i></label>
<input type="text" name = 'email' ngModel id="name" placeholder="Email"/>

<label id="icon" for="name"><i class="icon-user"></i></label>
<input type="text" name = 'username' ngModel placeholder="Username"/>
<label id="icon" for="name"><i class="icon-user"></i></label>
Expand All @@ -42,9 +41,9 @@ <h1>Edit Profile</h1>
<label id="icon" for="name"><i class="icon-shield"></i></label>
<input type="password" name = 'password' ngModel placeholder="Password">
<label id="icon" for="name"><i class="icon-user"></i></label>
<input type="password" name = 'profilePic' ngModel placeholder="Profile Picture URL">
<p>Click <a href="/profile">here</a> to return back to your profile page.</p>
<a href="/profile" class="button" type="submit" (click)="updateSqueaker( gfg)">Submit</a>
<input type="text" name = 'profilePic' ngModel placeholder="Profile Picture URL">
<p>Click <a routerLink="/profile">here</a> to return back to your profile page.</p>
<a routerLink="/edit" class="button" type="submit" (click)="updateSqueaker(gfg)">Submit</a>
</form>
</div>
</div>
Expand Down

0 comments on commit 0209c5c

Please sign in to comment.