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 60b437a
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 @@ -2,7 +2,7 @@
<fieldset class="resource-fieldset">
{% for field in resource_fields %}
{% assign template = field.form_template | default: "form/text.html" %}
{% capture field_name %}resource[][{{ field.field_name }}]{% endcapture %}
{% capture field_name %}resources[][{{ field.field_name }}]{% endcapture %}
{% assign value = resource[field[field_name]] %}
{% include {{ template }} field=field field_name=field_name value=value %}
{% endfor %}
Expand Down

0 comments on commit 60b437a

Please sign in to comment.