Skip to content
Snippets Groups Projects
Commit dad1ca7a authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Ensuring safe output of crop title

parent bdb1cd8e
Branches
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@
{% for crop_group in crop_groups %}
<li>
<input type="checkbox" name="cropIds" id="cropIds_{{crop_group.crop_ids|slugify}}" value="{{crop_group.crop_ids}}" checked="checked" onchange="refreshForecasts({{settings.VIPS_ORGANIZATION_ID}},'{{settings.VIPSLOGIC_SERVER_NAME}}');storeSelectedCropIds();filterMessages();filterObservations();"/>
<label for="cropIds_{{crop_group.crop_ids|slugify}}"><span></span>{{ crop_group.name }}</label>
<label for="cropIds_{{crop_group.crop_ids|slugify}}"><span></span>{{ crop_group.name|safe }}</label>
</li>
{% endfor %}
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment