Current prod version

This commit is contained in:
PV Tejas 2026-02-07 17:01:34 +05:30
parent f52d98333e
commit 34c5300608
7 changed files with 32 additions and 11 deletions

View file

@ -1,9 +1,9 @@
<!doctype html>
<title>{% block title %}{% endblock %} - Flaskr</title>
<title>{% block title %}{% endblock %} - blogsparkinfinite</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<link rel="icon" type="image/png" href="{{ url_for('static', filename='favicon.png') }}">
<nav>
<h1>Flaskr</h1>
<h1>blogsparkinfinite</h1>
<ul>
{% if g.user %}
<li><span>{{ g.user['username'] }}</span>

View file

@ -11,6 +11,9 @@
value="{{ request.form['title'] or post['title'] }}" required>
<label for="body">Body</label>
<textarea name="body" id="body">{{ request.form['body'] or post['body'] }}</textarea>
<label for="created">Created</label>
<input name="created" id="created"
value="{{ request.form['created'] or post['created'] }}" required>
<input type="submit" value="Save">
</form>
<hr>