Answers for "django checkbox conditional"

1

django html checkbox if condition chexked

<input type="checkbox" name="is_closed" value="closed" {% if 'closed' in 'is_closed %} checked {% else %} '' {% endif %}>
Posted by: Guest on May-06-2021

Browse Popular Code Answers by Language