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

Implement ContentBrowserWidget for the new pat-contentbrowser pattern #197

Merged
merged 5 commits into from
Sep 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
switch LinkWidget to contentbrowser
  • Loading branch information
petschki committed Sep 16, 2024
commit 54ce09d3791396fa089c0e200eb1d0ce57bb0de7
4 changes: 2 additions & 2 deletions plone/app/z3cform/templates/link_input.pt
Original file line number Diff line number Diff line change
@@ -25,11 +25,11 @@
<div>
<div class="mb-3 main">
<!-- this gives the name to the "linkType" -->
<input class="pat-relateditems"
<input class="pat-contentbrowser"
name="${view/name}.internal"
type="text"
value="${value}"
data-pat-relateditems="${view/pattern_data}"
data-pat-contentbrowser="${view/pattern_data}"
/>
</div>
</div>