mirror of
https://github.com/TrentSPalmer/flask_photo_scaling_app.git
synced 2025-07-04 03:13:15 -07:00
initial commit
This commit is contained in:
24
app/templates/delete_photo.html
Normal file
24
app/templates/delete_photo.html
Normal file
@ -0,0 +1,24 @@
|
||||
<style>
|
||||
.formContainer {
|
||||
align-items: center;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
#submitContainer {
|
||||
margin-top: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class='formContainer'>
|
||||
|
||||
<form action={{ url_for('delete', photo_id=photo.id) }} method="post" novalidate>
|
||||
<h2>Delete Photo?</h2>
|
||||
<img style="width: 100%;" src={{ photo_url + '480_' + photo['photo_name'] }} alt={{ '480_' + photo['photo_name'] }}>
|
||||
{{ form.hidden_tag() }}
|
||||
<p id="submitContainer">{{ form.submit() }}</p>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user