blob: 05c4c05a3bd68040dd2c370b9c0c350d1028b7c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{% extends "base.htm" %}
{% block title %}New paste{% endblock %}
{% block content %}
<form method="post" action="/" enctype="multipart/form-data">
<div class="control-group well pastedata">
<label for="description">Description</label>
<input type="text" name="description" id="description" value="{{description}}"/>
</div>
{% include 'edit-file.htm' with {'file': file[1], 'fileid': 0, 'newfile': true} %}
{% include 'edit-add.htm' %}
<div class="well" style="text-align: right">
<button class="btn btn-primary" type="submit">
<i class="icon-check icon-white"></i>
Create
</button>
</div>
</form>
<script type="application/javascript">
$(document).ready(function() {
initFilenames();
});
</script>
{% endblock %}
|