Skip to content

Commit 2202423

Browse files
committed
Create edit_post.html
1 parent b7dd980 commit 2202423

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% extends 'base.html' %}
2+
{% block content %}
3+
<div class="container">
4+
<div class="student-box">
5+
<h1>Edit Post</h1>
6+
<form method="POST">
7+
<textarea name="content" rows="4" style="width: 100%;">{{ post.content }}</textarea>
8+
<br><br>
9+
<button type="submit" class="view-btn">Update</button>
10+
</form>
11+
</div>
12+
</div>
13+
{% endblock %}

0 commit comments

Comments
 (0)