$("#contract-templates").html("<%= j render collection: @importable_templates, partial: 'release_template_imports/release_template' %>");
$("form input[type='search']").val("<%= params[:query] %>");
$("#importable_templates_pagination").html("<%= j will_paginate @importable_templates %>");
