<script src="/static/assets/js/delete_post_modal.js?a=3"></script>

<div class="modal fade" id="deletePostModal" tabindex="-1" role="dialog" aria-labelledby="deletePostModalTitle" aria-hidden="true">
	<div class="modal-dialog modal-dialog-centered" role="document">
		<div class="modal-content">
			<div class="modal-header d-none d-md-flex">
				<h5 class="modal-title">Delete post?</h5>
				<button role="button" class="close" data-bs-dismiss="modal" aria-label="Close">
					<span aria-hidden="true"><i class="far fa-times"></i></span>
				</button>
			</div>
			<div class="modal-body text-center">

				<div class="py-4">
					<i class="fad fa-trash-alt text-muted d-none d-md-block" style="font-size: 3.5rem;"></i>
				</div>

				<div class="h4 d-md-none">Delete post?</div>

				<p class="d-none d-md-block">Your post will be removed everywhere on {{'SITE_NAME' | app_config}}. This action can be undone.</p>

				<p class="text-muted d-md-none">Your post will be removed everywhere on {{'SITE_NAME' | app_config}}. This action can be undone.</p>

				<div class="d-md-none">

					<button role="button" id="deletePostButton-mobile" class="btn btn-danger btn-block">Delete post</button>

					<button role="button" class="btn btn-secondary btn-block" data-bs-dismiss="modal">Cancel</button>

				</div>

			</div>
			<div class="modal-footer d-none d-md-flex">
				<button role="button" class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
				<button role="button" id="deletePostButton" class="btn btn-danger">Delete post</button>
			</div>
		</div>
	</div>
</div>
