mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed where a user could see the delete button on the issues page
This commit is contained in:
parent
419bf0270e
commit
52fd1c7844
8 changed files with 27 additions and 22 deletions
|
@ -83,10 +83,12 @@
|
|||
<div class="col-sm-1">
|
||||
<a href="" id="{{id}}link" class="btn btn-sm btn-info-outline approve"><i class="fa fa-info"></i> Details</a>
|
||||
<br />
|
||||
{{#if admin}}
|
||||
<form action="@formAction/issues/remove" method="post" id="delete{{id}}">
|
||||
<input id="issueId" name="issueId" value="{{id}}" hidden="hidden" />
|
||||
<button type="submit" id="{{id}}" class="btn btn-sm btn-danger-outline dropdown-toggle delete">Remove</button>
|
||||
</form>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue