Add reason to package removal

This commit is contained in:
rubenwardy
2022-01-09 21:12:29 +00:00
parent db14b3f4ef
commit 34ccd76b0c
2 changed files with 9 additions and 2 deletions

View File

@@ -23,6 +23,11 @@ Remove {{ package.title }}
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div class="form-group">
<label for="reason">Reason</label>
<input id="reason" class="form-control" type="text" name="reason" required minlength="5">
</div>
<a class="btn btn-secondary float-right" href="{{ package.getURL("packages.view") }}">{{ _("Cancel") }}</a>
<input type="submit" name="delete" value="Remove" class="btn btn-danger mr-2" />