fix profile delete account button
parent
fc2031062b
commit
b26ff474fd
|
@ -89,28 +89,28 @@ block content
|
||||||
span.ion-trash-b
|
span.ion-trash-b
|
||||||
| I want to delete my account
|
| I want to delete my account
|
||||||
br
|
br
|
||||||
|
br
|
||||||
script.
|
script.
|
||||||
$('.confirm-deletion').on("click", function() {
|
$('.confirm-deletion').on("click", function() {
|
||||||
$('#modal-dialog').modal('show');
|
$('#modal-dialog').modal('show');
|
||||||
});
|
});
|
||||||
br
|
#modal-dialog.modal.animated.wobble
|
||||||
#modal-dialog.modal.animated.wobble
|
.modal-dialog
|
||||||
.modal-dialog
|
.modal-content
|
||||||
.modal-content
|
.modal-header
|
||||||
.modal-header
|
a.close(href='#', data-dismiss='modal', aria-hidden='true') ×
|
||||||
a.close(href='#', data-dismiss='modal', aria-hidden='true') ×
|
h3 Are you really leaving us?
|
||||||
h3 Are you really leaving us?
|
.modal-body
|
||||||
.modal-body
|
p Pro Tip: If you tweet feedback to
|
||||||
p Pro Tip: If you tweet feedback to
|
a(href="https://twitter.com/intent/tweet?text=Hey%20@freecodecamp") @FreeCodeCamp
|
||||||
a(href="https://twitter.com/intent/tweet?text=Hey%20@freecodecamp") @FreeCodeCamp
|
| , we'll act quickly on it!
|
||||||
| , we'll act quickly on it!
|
.modal-footer
|
||||||
.modal-footer
|
a.btn.btn-success.btn-block(href='#', data-dismiss='modal', aria-hidden='true')
|
||||||
a.btn.btn-success.btn-block(href='#', data-dismiss='modal', aria-hidden='true')
|
span.ion-happy
|
||||||
span.ion-happy
|
| Nevermind, I'll stick around
|
||||||
| Nevermind, I'll stick around
|
br
|
||||||
br
|
form(action='/account/delete', method='POST')
|
||||||
form(action='/account/delete', method='POST')
|
input(type='hidden', name='_csrf', value=_csrf)
|
||||||
input(type='hidden', name='_csrf', value=_csrf)
|
button.btn.btn-danger.btn-block(type='submit')
|
||||||
button.btn.btn-danger.btn-block(type='submit')
|
span.ion-trash-b
|
||||||
span.ion-trash-b
|
| Yes, Delete my account
|
||||||
| Yes, Delete my account
|
|
||||||
|
|
Loading…
Reference in New Issue