askrobots / dbbasic-examples
Public
Example DBBasic apps (an API, a blog and a microblog) and a template for new DBBasic modules.
danq9
Add official module template for creating DBBasic packages
17cf88a
1 year, 1 month ago
History
new.html · 451 bytes · 14 lines
| 1 | {% extends "base.html" %} |
| 2 | |
| 3 | {% block title %}New Post{% endblock %} |
| 4 | |
| 5 | {% block content %} |
| 6 | <a href="/">← Back</a> |
| 7 | <h1>New Post</h1> |
| 8 | <form method="POST"> |
| 9 | <input type="text" name="title" placeholder="Title" required> |
| 10 | <input type="text" name="author" placeholder="Your name" required> |
| 11 | <textarea name="content" rows="10" placeholder="Write your post..." required></textarea> |
| 12 | <button type="submit">Publish</button> |
| 13 | </form> |
| 14 | {% endblock %} |