mirror of
				https://github.com/TrentSPalmer/flask_photo_scaling_app.git
				synced 2025-11-03 22:28:25 -08:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			564 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			564 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('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 %}
 |