Add a TAL macro for picker creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Tim Penhey |
Bug Description
Creating the HTML tags for a picker is more onerous than it needs to be. Some TAL macro would certainly help.
For example:
- <dd tal:content=
+ <dd>
+ <span id="recipe-owner">
+ <span class="
+ <tal:owner replace="structure context/
+ </span>
+ <button class="lazr-btn yui3-activator-act yui3-activator-
+ tal:condition=
+ Edit
+ </button>
+ <div class="
+ </span>
This should be easier.
It now is:
Use the InlineEditPicke rWidget, and <tal:widget replace="structure view/some_widget"/>