Skip to content

Commit cd1c67d

Browse files
committed
updated index
1 parent 10ac530 commit cd1c67d

12 files changed

+18
-1
lines changed
Binary file not shown.
Binary file not shown.
1.07 KB
Binary file not shown.
Binary file not shown.
156 Bytes
Binary file not shown.
200 Bytes
Binary file not shown.
458 Bytes
Binary file not shown.
456 Bytes
Binary file not shown.
2.72 KB
Binary file not shown.
819 Bytes
Binary file not shown.
2.56 KB
Binary file not shown.

decwiki/wiki/templates/index.html

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!-- <!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
@@ -14,4 +14,21 @@ <h1>Articles</h1>
1414
</ul>
1515
<a href="{% url 'create_article' %}">Create New Article</a>
1616
</body>
17+
</html> -->
18+
19+
20+
<!DOCTYPE html>
21+
<html>
22+
<head>
23+
<title>Create Article</title>
24+
</head>
25+
<body>
26+
<h1>Create New Article</h1>
27+
<form method="post">
28+
{% csrf_token %}
29+
{{ form.as_p }}
30+
<button type="submit">Save</button>
31+
</form>
32+
<a href="{% url 'index' %}">Back to Articles</a>
33+
</body>
1734
</html>

0 commit comments

Comments
 (0)