django-components/tests/templates/template_with_provided_and_default_parameters.html
rbeard0330 be0a75e2a3
Missing context variables and kwargs in component_block (#17)
* Fix issue with missing variables by binding template to context in Component.render method.
* Pass extra_context to Component.render()

Co-authored-by: rbeard0330 <@dul2k3BKW6m>
2020-12-14 18:25:36 +01:00

2 lines
87 B
HTML

Provided variable: <strong>{{ variable }}</strong>
Default: <p>{{ default_param }}</p>