Skip to content

Commit

Permalink
Added popup confirmation before deleting an user in module closes #115
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianMariyanov committed Apr 12, 2017
1 parent 4b6a75f commit 9c741d0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@
.Filterable(false)
.RenderedAs(model => Html.DeleteForm(nameof(UsersInModulesController.Delete), "UsersInModules", model.ModuleId.ToString(), model.UserId));
}))

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

0 comments on commit 9c741d0

Please sign in to comment.