unepwcmc/SAPI

View on GitHub
app/views/admin/events/new.js.erb

Summary

Maintainability
Test Coverage
$('#admin-new-<%= controller_name.singularize %>-form').html("<%= escape_javascript(render('form')) %>");
$('#new-<%= controller_name.singularize %>').modal('show');
window.adminEditor.initForm();