Open MAH1987 opened 7 years ago
I would do this next! Anyone see more fieldtypes that we need?
hm, so you would add more types to https://github.com/inyokaproject/theme-default/blob/staging/inyoka_theme_default/templates/macros.html#L190?
I'm asking as with django 1.11 there's a much cleaner way to solve this: https://docs.djangoproject.com/en/1.11/ref/forms/renderers. That would be IMO also more variable – so we dont have to manually check for every field type in the frontend. Instead each field in the backend is mapped automagically to a template. We should migrate to 1.11 until April ether.
Nevertheless, you can add it for the moment. However, if you have something equally interesting that lasts longer (f.e. adapt a missing template to bootstrap), feel free to do that. :)
Ok then I will adapt a missing template. We should prefer to migrate to the new Djangoversion. Sound "painless"
Do we need even more field types?