{% comment "" %} needs following context: - stock: Creates a modal with id = change_stock-modal-{{stock.id}} {% endcomment %} {% load crispy_forms_tags %} {% load static %}