Skip to content

Commit

Permalink
resources field name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
timwis committed Apr 3, 2016
1 parent d6677e2 commit 89542dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/dataset-form-resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% for field in resource_fields %}
{% assign template = field.form_template | default: "form/text.html" %}
{% capture field_name %}resource[][{{ field.field_name }}]{% endcapture %}
{% assign value = resource[field[field_name]] %}
{% assign value = resources[field[field_name]] %}
{% include {{ template }} field=field field_name=field_name value=value %}
{% endfor %}
</fieldset>
Expand Down

0 comments on commit 89542dd

Please sign in to comment.