mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-04 19:08:45 +00:00
Add status deletion
This commit is contained in:
parent
4d9e0af373
commit
5d58269132
7 changed files with 68 additions and 8 deletions
|
@ -43,6 +43,12 @@
|
|||
<input type="submit" value="mute" class="btn-link more-link" title="mute">
|
||||
</form>
|
||||
{{end}}
|
||||
{{if eq $.Ctx.UserID .Account.ID}}
|
||||
<form action="/delete/{{.ID}}" method="post">
|
||||
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
||||
<input type="submit" value="delete" class="btn-link more-link" title="delete">
|
||||
</form>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue