Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

django html checkbox if condition chexked

<input type="checkbox" name="is_closed" value="closed" {% if 'closed' in 'is_closed %} checked {% else %} '' {% endif %}>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #html #checkbox #condition #chexked
ADD COMMENT
Topic
Name
2+9 =