Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onclick="if (confirm('Sicher löschen?')) { var f = document.createElement('form'); f.style.display = 'none'; this.parentNode.appendChild(f); f.method = 'POST'; f.action = this.href;var m = document.createElement('input'); m.setAttribute('type', 'hidden'); m.setAttribute('name', '_method'); m.setAttribute('value', 'delete'); f.appendChild(m);var s = document.createElement('input'); s.setAttribute('type', 'hidden'); s.setAttribute('name', 'authenticity_token'); s.setAttribute('value', 'cbf81a8cffa1afb7ebcfbf9e70eedb8acceb1237'); f.appendChild(s);f.submit(); };return false;">
Add Comment
Please, Sign In to add comment