-
Notifications
You must be signed in to change notification settings - Fork 11
/
link_edit.html
28 lines (28 loc) · 951 Bytes
/
link_edit.html
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.html" %}
{% block title %}修改地址{% endblock %}
{% block content %}
<script type="text/javascript">
$(document).ready(function() {
$('#topmenu').find('li:eq(4)').addClass('current');
});
</script>
<div id="edit_link">
<form action="/admin/link/edit/{{ link.id }}/" method="POST">
<table>
<tr>
<th><label>名称</label></th>
<td><input type="text" name="name" value="{{ f.name.value | notnull }}" /><span>{{ f.name.note | notnull }}</span></td>
</tr>
<tr>
<th><label>地址</label></th>
<td><input type="text" name="url" value="{{ f.url.value | notnull }}" /><span>{{ f.url.note | notnull }}</span></td>
</tr>
<tr>
<th><label>描述</label></th>
<td><input type="text" name="description" value="{{ f.description.value | notnull }}" /></td>
</tr>
</table>
<p><input type="submit" value="修改" /></p>
</form>
</div>
{% endblock %}