<tal:block define="field_class string:field-inline">
<metal:block use-macro="here/widget_macro/macros/widget">
    <metal:block fill-slot="scripts">
        <!-- Ajax tree scripts -->
        <tal:block define="ctx options/context;
                           tree_initial_node python:here.initial_jstree_node(ctx)">
            <metal:block use-macro="here/macro_utils/macros/ajaxtree" />
        </tal:block>
    </metal:block>
    <metal:block fill-slot="input">
        <div tal:attributes="id string:sitemap_tree_${prop_id}" class="sitemap_tree"></div>
        <div style="clear: both"></div>
        <input type="text" tal:attributes="
            class string:sitemap_tree_${prop_id}_target;
            value value;
            size here/width;
            maxlength python:test(here.size_max, here.size_max, None);
            name string:${prop_id}:utf8:ustring;
            id prop_id" />
    </metal:block>
</metal:block>
</tal:block>
