{:uriI"file://vendor/bundle/ruby/2.2.0/gems/rails_admin-0.7.0/app/assets/javascripts/rails_admin/ra.nested-form-hooks.coffee?type=application/javascript&pipeline=self&id=77ebe714532767ed56a36ea53cdf08e61d8b7f57be89b82531fc074fb8d526f7:ET:load_pathI"Kvendor/bundle/ruby/2.2.0/gems/rails_admin-0.7.0/app/assets/javascripts;T: filenameI"svendor/bundle/ruby/2.2.0/gems/rails_admin-0.7.0/app/assets/javascripts/rails_admin/ra.nested-form-hooks.coffee;T: nameI"%rails_admin/ra.nested-form-hooks;T:logical_pathI"-rails_admin/ra.nested-form-hooks.self.js;T:content_typeI"application/javascript;T:sourceI"h (function() { var $; $ = jQuery; $(document).ready(function() { return window.nestedFormEvents.insertFields = function(content, assoc, link) { var tab_content; tab_content = $(link).closest(".controls").siblings(".tab-content"); tab_content.append(content); return tab_content.children().last(); }; }); $(document).on('nested:fieldAdded', 'form', function(content) { var controls, field, nav, new_tab, one_to_one, parent_group, toggler; field = content.field.addClass('tab-pane').attr('id', 'unique-id-' + (new Date().getTime())); new_tab = $('