rendered paste body define="view context/@@at_base_edit_view;
dummy python:view.isTemporaryObject() and request.set('disable_border', True);
lifecycle context/@@at_lifecycle_view;
lock_info context/@@plone_lock_info;
dummy lifecycle/begin_edit;
errors options/state/getErrors | nothing;
Iterator python:modules['Products.Archetypes'].IndexIterator;
schematas here/Schemata;
allow_tabbing python: not view.isMultiPageSchema();
fieldsets python:[key for key in schematas.keys() if (schematas[key].editableFields(here, visible_only=True))];
default_fieldset python:(not schematas or schematas.has_key('default')) and 'default' or fieldsets[0];
fieldset request/fieldset|options/fieldset|default_fieldset;
fields python:[f for key in fieldsets for f in schematas[key].editableFields(here)];
dummy python:here.at_isEditable(fields);
portal_type python:here.getPortalTypeName().lower().replace(' ', '_');
type_name here/getPortalTypeName|here/archetype_name;
base_macros here/edit_macros/macros;
edit_template python:'%s_edit' % portal_type;
edit_macros python:path('here/%s/macros | nothing' % edit_template);
header_macro edit_macros/header | header_macro | base_macros/header;
typedescription_macro edit_macros/typedescription | typedescription_macro | base_macros/typedescription;
body_macro edit_macros/body | body_macro | base_macros/body;
footer_macro edit_macros/footer | footer_macro | base_macros/footer;
isLocked isLocked | lock_info/is_locked_for_current_user;
css python:here.getUniqueWidgetAttr(fields, 'helper_css');
js python:here.getUniqueWidgetAttr(fields, 'helper_js');">