templates/bundles/SyliusShopBundle/Account/user_delete_confirm.html.twig line 1

Open in your IDE?
  1. <div class="item">
  2. <button class="ui red basic icon mini button" onclick="return $('#confirm_delete_modal').modal('show')">
  3. <i class="disabled warning sign icon"></i><i class="times circle icon"></i> {{ 'sylius.ui.delete_my_account'|trans }}
  4. </button>
  5. </div>
  6. <div class="ui small modal transition hidden" id="confirm_delete_modal" onApprove="">
  7. <div class="ui red header">
  8. <i class="disabled warning sign icon"></i> {{ 'Delete Your Account'|trans}}
  9. </div>
  10. <div class="content">
  11. <div class="ui negative message">
  12. <div class="header">
  13. {{ 'Are you sure you want to delete your account?'|trans }}
  14. </div>
  15. <p>
  16. {{ 'Your personnal data will be totaly erased from database and will never be able to be retrieved.'|trans }}
  17. </p>
  18. </div>
  19. <div class="actions">
  20. <form action="{{ url('purge_user') }}" method="post">
  21. <input type="hidden" name="token" value="{{ csrf_token('delete-myuser') }}"/>
  22. <div class="ui negative button">
  23. No
  24. </div>
  25. <button type="submit" class="ui positive right labeled icon button">
  26. Yes
  27. <i class="checkmark icon"></i>
  28. </button>
  29. </form>
  30. </div>
  31. </div>