Home / File/ update.html — flask Source File

update.html — flask Source File

Architecture documentation for update.html, a html file in the flask codebase.

Entity Profile

Source Code

{% extends 'base.html' %}

{% block header %}
  <h1>{% block title %}Edit "{{ post['title'] }}"{% endblock %}</h1>
{% endblock %}

{% block content %}
  <form method="post">
    <label for="title">Title</label>
    <input name="title" id="title" 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>
    <input type="submit" value="Save">
  </form>
  <hr>
  <form action="{{ url_for('blog.delete', id=post['id']) }}" method="post">
    <input class="danger" type="submit" value="Delete" onclick="return confirm('Are you sure?');">
  </form>
{% endblock %}

Frequently Asked Questions

What does update.html do?
update.html is a source file in the flask codebase, written in html.
Where is update.html in the architecture?
update.html is located at examples/tutorial/flaskr/templates/blog/update.html (directory: examples/tutorial/flaskr/templates/blog).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free