Skip to content

Commit 9ac9261

Browse files
committed
Create Post HTML
1 parent d9a6a6e commit 9ac9261

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

website/database.db

0 Bytes
Binary file not shown.

website/templates/create_post.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
{% extends "base.html" %} {% block title %} Home {% endblock %} {% block content
2-
%} {% endblock %}
1+
{% extends "base.html" %} {% block title %} Home {% endblock %}
2+
{% block content%}
3+
<h1 align="center">Make a Post</h1>
4+
5+
<form method="POST">
6+
<textarea name="text" id="text" class="form-control"></textarea>
7+
<br />
8+
<div align="center">
9+
<button type="submit" class="btn btn-lg btn-primary">Post</button>
10+
</div>
11+
</form>
12+
<br />
13+
<div align="center">
14+
<a href="/home"><button type="button" class="btn btn-lg btn-secondary">Back</button></a>
15+
</div>
16+
17+
{% endblock %}

0 commit comments

Comments
 (0)