<h1 tal:replace="structure here/manage_page_header" />
<h1 tal:replace="structure here/manage_tabs" />

<!--
  $RCSfile: edit.pt,v $

  This is the HTML management form for an XSLTMethod

  Author: Craeg Strong <cstrong@arielpartners.com>
  Modified by Philipp "philiKON" von Weitershausen <philikon@philikon.de>

  $Id: edit.pt,v 1.4 2003/03/30 03:45:47 cstrong Exp $
-->

<p class="form-help">
Here you can change the XSLTMethod settings. The XSLT processor and caching behaviour
may be changed under the 'Properties' tab.
</p>

<form action="manage_edit" method="post">

<table cellspacing="0" cellpadding="2" border="0">

  <tr>
    <td align="left" valign="top">
      <div class="form-label">XSL Transformer ID</div>
    </td>
    <td align="left" valign="top">
      <input type="text" name="xslTransformerId" size="25" tal:attributes="value here/xslTransformerId" />
    </td>
  </tr>

  <tr>
    <td align="left" valign="top">
      <div class="form-label">Behave like...</div>
    </td>
    <td align="left" valign="top"><select name="behave_like">
      <option value="" tal:attributes="selected python:here.behave_like==''">... the source object</option>
      <option tal:repeat="behave here/behaveLikeList"
              tal:attributes="value behave;
                              selected python:here.behave_like==behave"
              tal:content="behave"></option>
    </select></td>
  </tr>

  <tr tal:define="manager here/findCacheManager">
    <td align="left" valign="top">
      <div class="form-label">Cache Manager</div>
    </td>
    <td align="left" valign="top" tal:condition="manager">
      <a tal:attributes="href python:manager.url()+'/manage_workspace'"
	tal:content="python:'Root Folder/'+manager.absolute_url(1)">dummy</a>
      <tal:nothing tal:condition="manager/title" tal:replace="python:'('+manager.title+')'"/>
    </td>
    <td align="left" valign="top" tal:condition="not:manager">Not available</td>
  </tr>

  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>

  <tr>
    <td align="left" valign="top"></td>
    <td align="left" valign="top">
      <div class="form-element">
        <input class="form-element" type="submit" name="submit" value="Save Changes" />
      </div>
    </td>
  </tr>
</table>

</form>

<h1 tal:replace="structure here/manage_page_footer" />
