Skip to content

Commit

Permalink
Add popup confirmation before deleting a feedback closes #116 closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianMariyanov committed Apr 12, 2017
1 parent 1a91ab1 commit 4b6a75f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
.RenderedAs(model => Html.DeleteForm(nameof(FeedbackController.Delete), ControllerName, model.Id.ToString()));
}))

@section scripts {
<script>
HappyMe.FormHelper.confirmSubmit('.delete-form', 'Сигурни ли сте, че искате да изтриете елемента?');
</script>
}

0 comments on commit 4b6a75f

Please sign in to comment.