mirror of
https://github.com/TrentSPalmer/flask_photo_scaling_app.git
synced 2024-12-22 10:42:48 -08:00
25 lines
568 B
HTML
25 lines
568 B
HTML
<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('d_d.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 %}
|