how to supress field header
{{taxonomy_set = ['super_city_3', 'super_city_2', 'super_city_1',
'city', 'sub_city_1', 'sub_city_2', 'sub_city_3']}}
{{for r in taxonomy_set:}}
{{db.geo_political_generic_fields_lookup.taxonomy_column_fk.label =
''}} #does not work
{{geoFieldName =
db((db.geo_political_generic_fields_lookup.country_fk == specificCountryID)
& (db.geo_political_generic_fields_lookup.generic_geo_political_field_name
== r)).select(db.geo_political_generic_fields_lookup.taxonomy_column_fk)}}
<b>{{=r }}</b> translates to: {{=geoFieldName}}<br>
{{pass}}
PRODUCES
*super_city_3* translates to:
geo_political_generic_fields_lookup.taxonomy_column_fk # want to remove
this header
Federal US government
*super_city_2* translates to:
geo_political_generic_fields_lookup.taxonomy_column_fk # want to remove
this header
State
*super_city_1* translates to:
geo_political_generic_fields_lookup.taxonomy_column_fk # want to remove
this header
County
thanks,
Alex Glaros
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.