Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2750] Use ITemplateHelpers not setup_template_variables()
In ExampleIDatasetForm use ITemplateHelpers not setup_template_variables() to pass the list of available country codes to the template. This greatly reduces the number of templates that need to be overridden!
- Loading branch information
Sean Hammond
committed
Mar 15, 2013
1 parent
0221455
commit 4d45568
Showing
5 changed files
with
19 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
ckanext/example_idatasetform/templates/package/new_package_metadata.html
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
ckanext/example_idatasetform/templates/package/snippets/package_form.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
ckanext/example_idatasetform/templates/package/snippets/package_metadata_form.html
This file was deleted.
Oops, something went wrong.