diff --git a/src/includes/mentor/resources/confirmation-deletion.pug b/src/includes/mentor/resources/confirmation-deletion.pug new file mode 100644 index 0000000000000000000000000000000000000000..79c858175af090228c88549ac9c6ec1e773ff12e --- /dev/null +++ b/src/includes/mentor/resources/confirmation-deletion.pug @@ -0,0 +1,4 @@ +sib-link(class="backlink pull-right", next="mentor-resource-list") X +h1 Delete a resource +p Are you sure you want to delete this resource ? +sib-delete(data-label="Yes I am sure, delete " bind-resources) diff --git a/src/includes/mentor/resources/list.pug b/src/includes/mentor/resources/list.pug index fb46dfc0ce3e9e28b0cc378ec0638106a505c588..5cd92df1339ee2aaecb0124aa9b728b2800d0347 100644 --- a/src/includes/mentor/resources/list.pug +++ b/src/includes/mentor/resources/list.pug @@ -4,10 +4,7 @@ sib-router sib-route( name='confirm_suppress', use-id) dialog#confirm_suppress - h1 confirm_suppress - sib-delete(data-label="Die bitch, die !!" bind-resources) - sib-link(class="backlink pull-right", next="mentor-resource-list") X - + include ./confirmation-deletion div.container_min h2.title_lead.fd_bleu International index of resources for cooperative mentors and entrepreneurs