-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit.tpl
47 lines (40 loc) · 1.52 KB
/
edit.tpl
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
% import time
% rebase('base.tpl', title='Add a Video', logged_in=logged_in)
<div class="page-header">
<h1>Add a Video</h1>
</div>
<form id="add-video-form" action="/add" method="post">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="title">Title</label>
<input class="form-control" type="text" name="title" placeholder="Title">
</div>
<div class="form-group">
<label for="subtitle">Subtitle</label>
<input class="form-control" type="text" name="subtitle" placeholder="Subtitle">
</div>
<div class="form-group">
<label for="pathname">Path</label>
<input class="form-control" type="text" name="pathname" placeholder="Path">
</div>
<div class="form-group">
<label for="url">URL</label>
<input class="form-control" type="text" name="url" placeholder="URL">
</div>
<div class="form-group">
<label for="release">Release Date</label>
<input class="form-control" type="text" name="release" placeholder="{{time.strftime('%Y-%m-%d')}}">
</div>
<label for="description">Description</label>
<textarea name="description" style="width:100%"></textarea>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="categories">Categories</label>
<input class="form-control" type="text" name="categories" placeholder="Stub">
</div>
</div>
</div>
<button class="btn btn-success" type="submit">Add the Video</button>
</form>