2021-12-21 00:52:51 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Restore
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="card w-50">
|
|
|
|
<h2 class="card-header">Restore Package</h2>
|
|
|
|
|
|
|
|
<form method="post" action="" class="card-body">
|
|
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
|
|
<div class="">
|
2023-08-22 20:58:43 +02:00
|
|
|
<select name="package" class="form-select px-3" required>
|
2021-12-21 00:52:51 +01:00
|
|
|
<option disabled selected>-- please select --</option>
|
|
|
|
{% for p in deleted_packages %}
|
|
|
|
<option value="{{ p.id }}">
|
|
|
|
{{ p.author.username }} / {{ p.name }} | id={{ p.id }}
|
|
|
|
</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
<div class="mt-3">
|
|
|
|
<input type="submit" name="submit" value="To Draft" class="col-sm-auto btn btn-warning" />
|
2023-08-22 20:58:43 +02:00
|
|
|
<input type="submit" name="submit" value="To Changes Needed" class="col-sm-auto btn btn-danger ms-2" />
|
|
|
|
<input type="submit" name="submit" value="To Ready for Review" class="col-sm-auto btn btn-success ms-2" />
|
2021-12-21 00:52:51 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|