{% from 'chemicals/pane.html' import pane_details with context %} {% from 'comments/pane.html' import comment_pane with context %} {% from 'files/pane.html' import files_pane with context %} {% from 'batches/pane.html' import batch_pane with context %} {% from 'stock_solutions/pane.html' import solution_pane with context %} {% from 'chemicals/form.html' import chemical_add_form %} {% from 'files/form.html' import file_upload_form %} {% set n_comments = chemical.comments | length %}