diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-07-21 21:48:54 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-07-21 21:48:54 -0700 |
commit | fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48 (patch) | |
tree | 28b2ee80c9356303a0a8732ce09f0dd6c1fb6d16 /youtube/templates/delete_comment.html | |
parent | 167483af21fb252622170c4b5e3ae3ce81f58733 (diff) | |
download | yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.tar.lz yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.tar.xz yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.zip |
Convert comment posting system to flask framework
Diffstat (limited to 'youtube/templates/delete_comment.html')
-rw-r--r-- | youtube/templates/delete_comment.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/youtube/templates/delete_comment.html b/youtube/templates/delete_comment.html new file mode 100644 index 0000000..4797240 --- /dev/null +++ b/youtube/templates/delete_comment.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} + +{% block page_title %}Delete comment?{% endblock %} + +{% block style %} + main{ + display: grid; + grid-template-columns: minmax(0px, 3fr) 640px 40px 500px minmax(0px,2fr); + align-content: start; + } + main > div, main > form{ + margin-top:20px; + grid-column:2; + } +{% endblock style %} + +{% block main %} + <div>Are you sure you want to delete this comment?</div> + <form action="" method="POST"> + {% for parameter_name, parameter_value in parameters %} + <input type="hidden" name="{{ parameter_name }}" value="{{ parameter_value }}"> + {% endfor %} + <input type="submit" value="Yes, delete it"> + </form> +{% endblock %} + |