Commit a437831b authored by David Read's avatar David Read
Browse files

[#100] Fix for when a string is stored by mistake somehow (e.g. harvest or pre-migration)

parent 6adb140b
......@@ -607,7 +607,7 @@ Passed in:
<p class="instructions basic">The law (or other public commitment) that caused the data to be collected (if appropriate).</p>
<p>For example, civil servants' salaries are recorded because of Public Record Act 1958 s.2, for which you would put: <a href="http://www.legislation.gov.uk/id/ukpga/Eliz2/6-7/51/section/2" target="_blank">http://www.legislation.gov.uk/id/ukpga/Eliz2/6-7/51/section/2</a></p>
<div class="form-group">
{%- set mandates = data.get('mandate', []) + [''] -%}
{%- set mandates = data.get('mandate', [])|list + [''] -%}
<ul id="mandates-list">
{% for mandate in mandates %}
<li><input class="form-control" name="mandate" size="80" type="text" value="{{mandate}}"/></li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment