Example DBBasic apps (an API, a blog and a microblog) and a template for new DBBasic modules.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-examples.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-examples.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-examples.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

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="/">&larr; 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 %}