Proposals: allow admins to set a predefined template#5613
Proposals: allow admins to set a predefined template#5613tramuntanal merged 8 commits intodecidim:masterfrom
Conversation
b8dee49 to
758d630
Compare
bdbac36 to
6fec877
Compare
|
Hi @decidim/core product has approved this, can you please review the PR? Thanks! |
|
Hi @tramuntanal can you review this please? Thanks! 😄 |
tramuntanal
left a comment
There was a problem hiding this comment.
Hi @mrcasals , good work 👍
I think you forgot to add the hint in the admin field as specified in the related issue.
Also, can you rename the field from "New proposal template text" to "New proposal body template" to make it more intuitive?
|
@tramuntanal regarding the label change, I copied what the @decidim/product team posted in the screenshot, so that's the text they asked for. Regarding the hint, I don't see any reference in the original issue, so this PR should be good to go! 😄 |
|
Hi @mrcasals 🙏 do as I ask regarding the hint. I find it is much more easy for admins this way. |
Co-Authored-By: Oliver Valls <tramuntanal@gmail.com>
8b25f61 to
e2870ea
Compare
tramuntanal
left a comment
There was a problem hiding this comment.
Right, 👌 @mrcasals
One change I would have done but I can't because the PR comes from your fork is s/proposal_template_text/proposal_body_template/
|
@tramuntanal it comes from a fork because at the time I didn't have permissions to push to this repository. Newer PRs are created directly in this repo, but this one is still old and I can't change it, sorry! I've push a change with the renaming, you're right I forgot about it. thanks for the review, can you check it again please? |



🎩 What? Why?
This PR allows admins to set a predefined template for proposals. It also improves the appearance of translated, non-editor text areas in component settings forms, as they were appearing in a single row. I set it to 6 rows in height to make them appear the same as editor text areas.
📌 Related Issues
📋 Subtasks
CHANGELOGentry📷 Screenshots (optional)
When trying to create a proposal without modifying the template:

Updated appearance of translated, non-editor text areas in component settings form:
