Created
July 13, 2020 13:26
-
-
Save ankedsgn/78e31f9d7f9bbaf8c94a6b32943fd8a1 to your computer and use it in GitHub Desktop.
Get values from select in contenttypes.yml
This file contains hidden or 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
{% set wijken = app.config.get('contenttypes/zoekmachine/fields/wijk_toenjoy/values') %} | |
<select name="wijken"> | |
{% for item, key in wijken %} | |
<option value="{{item}}">{{ key }}</option> | |
{% endfor %} | |
</select> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment