/usr/lib/python2.7/dist-packages/chameleon/tests/inputs/058-script.pt is in python-chameleon 2.6.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <html>
<head>
<script tal:define="field {'oid': 1}; values 'values'; options 'options'">
deform.addCallback(
'${field.oid}',
function (oid) {
$('#' + oid).autocomplete({source: ${values}});
$('#' + oid).autocomplete("option", ${options});
}
);
</script>
</head>
<body>
<!-- Form -->
</body>
</html>
|