[ckan-changes] commit/ckanextiati: amercader: [forms] Fix bug in organization type field

Bitbucket commits-noreply at bitbucket.org
Mon Nov 14 13:43:25 UTC 2011


1 new commit in ckanextiati:


https://bitbucket.org/okfn/ckanextiati/changeset/1f60f4bf4e84/
changeset:   1f60f4bf4e84
user:        amercader
date:        2011-11-14 14:43:14
summary:     [forms] Fix bug in organization type field
affected #:  1 file

diff -r 7c77d68c0003549a2000d58bf4c38f59401e7bec -r 1f60f4bf4e84900b31b237961a16871a14eaf5e5 ckanext/iati/templates/group/form_iati.html
--- a/ckanext/iati/templates/group/form_iati.html
+++ b/ckanext/iati/templates/group/form_iati.html
@@ -51,7 +51,7 @@
             <dd><select id="publisher_organization_type" name="publisher_organization_type"><py:for each="value, title in c.organization_types">
-                        <option value="${value}" py:attrs="{'selected': 'selected' if data.get('organization_type', '') == value else None}" >${title}</option>
+                        <option value="${value}" py:attrs="{'selected': 'selected' if data.get('publisher_organization_type', '') == value else None}" >${title}</option></py:for></select>

Repository URL: https://bitbucket.org/okfn/ckanextiati/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list