Untitled
unknown
plain_text
2 years ago
831 B
1
Indexable
Never
{% extends 'base.html' %} {% block head %} <title>Task Master</title> {% endblock %} {% block body %} <div class="content"> <h1 style="text-align: center">Update Task</h1> <div class="form"> <form action="/update/{{task.id}}" method="POST"> <input type="text" name="content" id="content" value="{{task.content}}"> <input type="submit" value="Update"> </form> </div> </div> {% endblock %} <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}"> {% block head %}{% endblock %} </head> <body> {% block body %}{% endblock %} </body> </html>