Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controllers: Field-level template overrides #21

Open
loppear opened this issue Dec 8, 2016 · 0 comments
Open

Controllers: Field-level template overrides #21

loppear opened this issue Dec 8, 2016 · 0 comments

Comments

@loppear
Copy link
Contributor

loppear commented Dec 8, 2016

Currently you can override

  • The entire template/form for a model
  • The rendered partial for a given form input type (string, json, etc)

It would be nice if you could:

  • override both display and input with rendered partials on a field-name basis
  • equivalently, define new semantic field types (this and that "json" fields are really geojson), on top of WL's type information.

Probably this should also interact with better field-level validation / form library.

Particularly want these for specifying a map display and map editor, would also let us specify whether a given array field should be edited as json, comma/newline separated, a rich tag UI, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant