aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/comment-page/comment-page.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/comment-page/comment-page.component.html')
-rw-r--r--src/app/components/comment-page/comment-page.component.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/app/components/comment-page/comment-page.component.html b/src/app/components/comment-page/comment-page.component.html
index 2d110d6..ae114da 100644
--- a/src/app/components/comment-page/comment-page.component.html
+++ b/src/app/components/comment-page/comment-page.component.html
@@ -1,14 +1,16 @@
<app-loading *ngIf="!loaded"></app-loading>
-<div id="content" *ngIf="loaded">
- <button class="submit-btn" type="submit" (click)="toPost()">ᐊ Back to post</button>
+<main id="content" *ngIf="loaded">
+ <nav>
+ <button class="submit-btn" type="submit" (click)="toPost()">ᐊ Back to post</button>
+ </nav>
<app-comment [paramId]="commentId.toString()"></app-comment>
- <div class="many-buttons" *ngIf="editable">
+ <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>
- </div>
+ </nav>
<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>
-<div>
+</main>