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