aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/comment-page/comment-page.component.html
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-02-25 20:51:24 +0200
committertranstrike <transtrike@gmail.com>2021-02-25 20:51:24 +0200
commitca7e618ca3350a5cf200ae39c851b016c9088d41 (patch)
tree04a4ee7104e55d3e070e6306901d9e2400717e4e /src/app/components/comment-page/comment-page.component.html
parent118b463fc81d05467cffdf3c6de69a1e9f4e9303 (diff)
downloadDevHive-Angular-footer.tar
DevHive-Angular-footer.tar.gz
DevHive-Angular-footer.zip
Footer added; Pages fucked upfooter
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, 15 insertions, 4 deletions
diff --git a/src/app/components/comment-page/comment-page.component.html b/src/app/components/comment-page/comment-page.component.html
index ae114da..d59c956 100644
--- a/src/app/components/comment-page/comment-page.component.html
+++ b/src/app/components/comment-page/comment-page.component.html
@@ -2,15 +2,26 @@
<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>