This commit is contained in:
Ross
2024-05-18 18:11:12 +01:00
parent 1698612d6a
commit d50fbaafd6
2 changed files with 23 additions and 1 deletions
+19
View File
@@ -35,3 +35,22 @@
}
</style>
{% endblock css %}
{% block js %}
<script type="text/javascript">
$(document).ready(function() {
// Add a class to the selected option in the select element
//expand = $(" <span> (Click to expand)</span>").on('click', function() {
// //$('#id_radiology_condition').height("800px");
// $('#id_radiology_condition').height() == 800 ? $('#id_radiology_condition').height(100) : $('#id_radiology_condition').height(800);
// $(this).text($(this).text() == ' (Click to expand)' ? ' (Click to collapse)' : ' (Click to expand)');
// });
//$('#div_id_radiology_condition label').after(
// expand
//);
$('#div_id_radiology_condition').css("display", "grid");
});
</script>
{% endblock js %}