aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/comment-page/comment-page.component.html
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-06 14:29:14 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-06 14:29:14 +0200
commit4b094fb29ea7eaeb58f0c29df60e55586a74db76 (patch)
treedba5ca9fb171c25182b5e2450363b7dce0db1304 /src/app/components/comment-page/comment-page.component.html
parentb379eed12c5f5fa1b1685dc2ad87191733a41d28 (diff)
downloadDevHive-Angular-4b094fb29ea7eaeb58f0c29df60e55586a74db76.tar
DevHive-Angular-4b094fb29ea7eaeb58f0c29df60e55586a74db76.tar.gz
DevHive-Angular-4b094fb29ea7eaeb58f0c29df60e55586a74db76.zip
Reverted footer
Diffstat (limited to 'src/app/components/comment-page/comment-page.component.html')
-rw-r--r--src/app/components/comment-page/comment-page.component.html19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/app/components/comment-page/comment-page.component.html b/src/app/components/comment-page/comment-page.component.html
index d59c956..ae114da 100644
--- a/src/app/components/comment-page/comment-page.component.html
+++ b/src/app/components/comment-page/comment-page.component.html
@@ -2,26 +2,15 @@
<main id="content" *ngIf="loaded">
<nav>
- <button class="submit-btn" type="submit" (click)="toPost()">
- ᐊ Back to post
- </button>
+ <button class="submit-btn" type="submit" (click)="toPost()">ᐊ Back to post</button>
</nav>
<app-comment [paramId]="commentId.toString()"></app-comment>
<nav class="many-buttons" *ngIf="editable">
<button class="submit-btn" (click)="editComment()">Edit comment</button>
- <button class="submit-btn delete-btn" (click)="deleteComment()">
- Delete comment
- </button>
+ <button class="submit-btn delete-btn" (click)="deleteComment()">Delete comment</button>
</nav>
- <form [formGroup]="editCommentFormGroup" (ngSubmit)="editComment()">
- <input
- type="text"
- *ngIf="editingComment"
- placeholder="New comment message"
- class="input-field"
- formControlName="newCommentMessage"
- />
+ <form [formGroup]="editCommentFormGroup" (ngSubmit)="editComment()">
+ <input type="text" *ngIf="editingComment" placeholder="New comment message" class="input-field" formControlName="newCommentMessage">
<input type="submit" style="display: none" />
</form>
- <app-footer></app-footer>
</main>