mediasort/templates/moveform.html

35 lines
934 B
HTML

{% extends "page.html" %}
{% block toolbar %}
<a href="/"><button>Back</button></a>
{% endblock %}
{% block body %}
<div class="moveform">
<h2>Move {{ torrent.name }} </h2>
<p>{{ torrent.hash }}</p>
<fieldset>
<legend>current path</legend>
{{ torrent.save_path }}
</fieldset>
<br/>
<form action="/move" method="post">
<input type="hidden" name="thash" value="{{ torrent.hash }}">
<fieldset>
<legend>new path</legend>
<select name="dest">
<option value="" selected="selected">-</option>
{% for dest in options.movedests %}
<option value="{{ dest }}">{{ dest }}</option>
{% endfor %}
</select>
<label for="other">or: <input type="text" name="otherdest" /></label>
<input type="submit" value="go">
</fieldset>
</form>
</div>
{% endblock %}