<div metal:use-macro="container/macro_edit_view/macros/edit_view"
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
  i18n:domain="silva_document">
<metal:block fill-slot="edit_input">
  <script type="text/javascript" tal:content="structure python:here.focus_editor('data')" />
  <textarea class="fixIE6widget" tal:content="here/editable_content" id="data" name="data" cols="65" rows="2">Dummy text</textarea>
</metal:block>
<metal:block fill-slot="edit_notes">
<ul class="tips">
  <li i18n:translate=""><strong i18n:name="tip"><tal:block i18n:translate="">Tip:</tal:block></strong> Tab to the exit button or alt-e.</li>
</ul>
</metal:block>
<metal:block fill-slot="element_controls">
<script type="text/javascript" tal:content="structure here/elements.js" />
<tal:block i18n:translate="">element</tal:block>
<select class="manipulator"
   name="what" onChange="updateSelectionOptions()">
  <option value="p" i18n:translate="">paragraph</option>
  <option value="heading" selected="selected" i18n:translate="">heading</option>
  <option value="list" i18n:translate="">list</option>
  <option value="pre" i18n:translate="">preformatted</option>
  <option value="nlist" tal:replace="nothing">complex list</option>
  <option value="dlist" i18n:translate="">definition list</option>
</select>
<tal:block i18n:translate="">type</tal:block> 
<select class="manipulator" name="element_type" tal:define="type here/get_type">
  <option value="normal" tal:attributes="selected python:test(type == 'normal', 'selected', nothing)" i18n:translate="">Normal heading</option>
  <option value="sub" tal:attributes="selected python:test(type == 'sub', 'selected', nothing)" i18n:translate="">Sub heading</option>
  <option value="subsub" tal:attributes="selected python:test(type == 'subsub', 'selected', nothing)" i18n:translate="">Sub sub heading</option>
  <option value="paragraph" tal:attributes="selected python:test(type == 'paragraph', 'selected', nothing)" i18n:translate="">Paragraph heading</option>
  <option value="subparagraph" tal:attributes="selected python:test(type == 'subparagraph', 'selected', nothing)" i18n:translate="">Sub paragraph heading</option>
</select>
</metal:block>
</div>
