mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-14 11:33:51 +01:00
31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
|
{% 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="">
|
||
|
<select name="package" class="custom-select px-3" required>
|
||
|
<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" />
|
||
|
<input type="submit" name="submit" value="To Changes Needed" class="col-sm-auto btn btn-danger ml-2" />
|
||
|
<input type="submit" name="submit" value="To Ready for Review" class="col-sm-auto btn btn-success ml-2" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
{% endblock %}
|