Jul-12-2020, 05:40 PM
<option value="meatfish" {{ 'selected' if recipe.category_name == 'meatfish' else '' }} >Meat&Fish</option>You could use the expression syntax to print "selected" or "".
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!