<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
      i18n:domain="plone">
  <head><title></title></head>
  <body>

    <!-- String Widgets -->
    <metal:view_macro define-macro="view"
            tal:define="kssClassesView context/@@kss_field_decorator_view;
                        getKssClasses nocall:kssClassesView/getKssClassesInlineEditable;">
        <span metal:define-macro="string-field-view"
            tal:define="kss_class python:getKssClasses(fieldName,
                              templateId='widgets/string', macro='string-field-view');
                              uid context/UID|nothing"
            tal:attributes="class kss_class;
                            id string:parent-fieldname-$fieldName-$uid">
            <span metal:define-slot="inside"
                  tal:replace="accessor">string</span>
        </span>
    </metal:view_macro>

    <metal:define define-macro="edit">
      <metal:use use-macro="field_macro | context/widgets/field/macros/edit">
        <input metal:fill-slot="widget_body"
               type="text"
               name=""
               class="blurrable firstToFocus"
               id=""
               value=""
               size="30"
               tal:attributes="name fieldName;
                               id fieldName;
                               value value;
                               size widget/size;
                               placeholder widget/placeholder|nothing;
                               maxlength widget/maxlength;"
               />
      </metal:use>
    </metal:define>

    <div metal:define-macro="search">
      <div metal:use-macro="context/widgets/string/macros/edit">
      </div>
    </div>

  </body>

</html>
