start_sf5_project/app/templates/blog/_delete_post_confirmation.html.twig

20 lines
912 B
Twig

{# Bootstrap modal, see https://getbootstrap.com/docs/3.4/javascript/#modals #}
<div class="modal fade" id="confirmationModal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<h4>{{ 'delete_post_modal.title'|trans }}</h4>
<p>{{ 'delete_post_modal.body'|trans }}</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" id="btnNo" data-dismiss="modal">
<i class="fa fa-ban" aria-hidden="true"></i> {{ 'label.cancel'|trans }}
</button>
<button type="button" class="btn btn-danger" id="btnYes" data-dismiss="modal">
<i class="fa fa-trash" aria-hidden="true"></i> {{ 'label.delete_post'|trans }}
</button>
</div>
</div>
</div>
</div>