<div xmlns="http://www.w3.org/1999/xhtml"
     xmlns:i18n="http://xml.zope.org/namespaces/i18n"
     xmlns:meta="http://xml.zope.org/namespaces/meta"
     xmlns:tal="http://xml.zope.org/namespaces/tal"
     meta:interpolation="true"
     i18n:domain="euphorie"
     tal:omit-tag=""
><div class="buttonBar">
  <a class="button floatBefore" tal:condition="view/can_edit" href="${context/absolute_url}/@@edit" i18n:translate="button_edit">Edit</a>
  <span tal:omit-tag="" tal:repeat="factory view/actions">
    <a class="button floatAfter" tal:condition="python:factory.id=='euphorie.module'"
        href="${factory/url}" title="${factory/description}" i18n:translate="">Add Module</a>
    <a class="button floatAfter" tal:condition="python:factory.id=='euphorie.submodule'"
        href="${factory/url}" title="${factory/description}" i18n:translate="">Add Submodule</a>
    <a class="button floatAfter" tal:condition="python:factory.id=='euphorie.profilequestion'"
        href="${factory/url}" title="${factory/description}" i18n:translate="">Add Profile question</a>
    <a class="button floatAfter" tal:condition="python:factory.id=='euphorie.risk'"
        href="${factory/url}" title="${factory/description}" i18n:translate="">Add Risk</a>
    <a class="button floatAfter" tal:condition="python:factory.id=='euphorie.solution'"
        href="${factory/url}" title="${factory/description}" i18n:translate="">Add Solution</a>
  </span>
</div></div>
