Skip to content

Commit

Permalink
[#2648] Update new_resource.html to use {% snippet %}
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jul 16, 2012
1 parent 09db64a commit c5a1802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/package/new_resource.html
Expand Up @@ -2,7 +2,7 @@

{% block title %}{{ _('Add data to the dataset') }} - {{ super }}{% endblock %}

{% block form %}{{ h.snippet('package/snippets/resource_form.html', data=data, errors=errors, include_metadata=false, pkg_name=pkg_name, stage=stage) }}{% endblock %}
{% block form %}{% snippet 'package/snippets/resource_form.html', data=data, errors=errors, include_metadata=false, pkg_name=pkg_name, stage=stage %}{% endblock %}

{% block secondary_content %}
<section class="module module-narrow">
Expand Down

0 comments on commit c5a1802

Please sign in to comment.