+++ /dev/null
-<?xml version="1.0" encoding="utf-8" ?>
-<div class="wdgt-buyable-items"
- xmlns:tal="http://xml.zope.org/namespaces/tal"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n"
- tal:define="pptool here/portal_photo_print;
- uidh here/portal_uidhandler;
- uid python:uidh.register(here);
- utool nocall:here/portal_url;
- portal_url utool;
- portal_object utool/getPortalObject;
- slide_size portal_object/slide_size;
- items python:pptool.getPrintingOptionsFor(here);"
- i18n:domain="portfolio">
- <div class="panel-background"><br/></div>
- <div style="position:absolute;padding:5px;">
- <form tal:attributes="action string:${context/absolute_url}/add_to_cart">
- <select name="printing_template">
- <option tal:repeat="item items" tal:attributes="value item/getId"
- ><span tal:replace="item/title"/> – <span tal:replace="item/price/taxed"/> €</option>
- </select>
- <input type="submit"
- name="add_to_cart" title="Add to cart"
- class="add-to-cart-btn"
- value=""
- i18n:attributes="title"/>
- <div>
- <span i18n:translate="" tal:omit-tag="">quantity:</span>
- <input type="text" name="quantity" size="2" value="1"/>
- </div>
- <div class="ppt-description"
- tal:repeat="item items"
- tal:attributes="name item/getId"
- tal:content="item/description">Description</div>
- <input type="submit" name="cancel" value="Cancel"
- tal:attributes="style python:'position:absolute;;top:%dpx' % (slide_size - 20)"
- i18n:attributes="value"/>
- <input name="cmf_uid" type="hidden" tal:attributes="value uid"/>
- </form>
- </div>
-</div>