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

Replace monkey patching on deform classes by templating #237

Open
arnaud-morvan opened this issue Dec 22, 2021 · 0 comments
Open

Replace monkey patching on deform classes by templating #237

arnaud-morvan opened this issue Dec 22, 2021 · 0 comments

Comments

@arnaud-morvan
Copy link
Member

We should replace https://github.com/camptocamp/c2cgeoform/blob/996930b7943144384449a059525a6df1c9fe6f2c/c2cgeoform/__init__.py#L88:L89

By changes in templates form.pt and mapping.pt:

<form
  tal:define="
    fields_template fields_template|string:${field.widget.fields_template or field.fields_template or 'mapping_template'};
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