Skip to content

Commit

Permalink
corrected example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven R. Kunze authored and tobes committed Dec 19, 2012
1 parent ac444ad commit 6587b7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/templates/macros/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@


Example:
{% form.hidden("snippets/fields_to_hidden.html", fields=c.fields, except=[('topic', 'xyz')]) %}
{% form.hidden("snippets/fields_to_hidden.html", fields=c.fields, except_names=['time_min', 'time_max']) %}
{% form.hidden(fields=c.fields, except=[('topic', 'xyz')]) %}
{% form.hidden(fields=c.fields, except_names=['time_min', 'time_max']) %}
#}
{% macro hidden_list(fields, except_names=[], except=[]) %}
{% set except_names = except_names or [] %}
Expand Down

0 comments on commit 6587b7c

Please sign in to comment.