diff --git a/ckanext/scheming/templates/scheming/form_snippets/custom.html b/ckanext/scheming/templates/scheming/form_snippets/custom.html new file mode 100644 index 00000000..819231fe --- /dev/null +++ b/ckanext/scheming/templates/scheming/form_snippets/custom.html @@ -0,0 +1,48 @@ +{% import 'macros/form.html' as form %} + + + {{ form.select('country', label=_('Country'), options=[{'name':'France', 'value': 'France'},{'name': 'Austria', 'value': 'Austria'}], selected='Austria', error='') }} + {{ form.select('city', label=_('City'), options='', error='') }} + + + + + + + +