Big refactoring of registration
- Added datatable gem - Addaed datatable to events, users (#422), registrations
This commit is contained in:
parent
0f1051d24e
commit
d21e19b977
34 changed files with 435 additions and 12988 deletions
|
|
@ -1,4 +1,17 @@
|
|||
$(function () {
|
||||
/**
|
||||
* Displays a modal with the questions of the registration.
|
||||
*/
|
||||
$(document).ready(function(){
|
||||
$(".question-btn").click(function(){
|
||||
var id = $(this).data('id');
|
||||
$("#question-modal-body").empty();
|
||||
$("#question-modal-body").html($(".question" + id).clone().show());
|
||||
$("#question-modal-header").text('Questions for ' + $(this).data('name'));
|
||||
$('#questions').modal('show');
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Toggles email template help below email body textarea field.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue