daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: Products/Archetypes/skins/archetypes/widgets/multiselection.pt
  2. ===================================================================
  3. --- Products/Archetypes/skins/archetypes/widgets/multiselection.pt  (revision 11341)
  4. +++ Products/Archetypes/skins/archetypes/widgets/multiselection.pt  (working copy)
  5. @@ -11,8 +11,14 @@
  6.      <metal:view_macro define-macro="view"
  7.                        tal:define="vocab python:field.Vocabulary(here);
  8.                                    value python:accessor();
  9. -                                  display python:context.displayValue(vocab, value);"
  10. -                      tal:replace="structure display" />
  11. +                                  display python:context.displayValue(vocab, value);">
  12. +      <ul>
  13. +        <li tal:repeat="item value"
  14. +                tal:content="python:vocab.getValue(item)"
  15. +                i18n:translate="" >
  16. +        </li>
  17. +      </ul>
  18. +    </metal:view_macro>
  19.  
  20.      <metal:define define-macro="edit">
  21.      <metal:use use-macro="field_macro | context/widgets/field/macros/edit">
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top