<%inherit file="/base.mako"/> <%namespace file="/message.mako" import="render_msg" /> <%namespace file="/library/common/common.mako" import="render_template_fields" /> <%def name="javascripts()"> ${parent.javascripts()} <% from cgi import escape folder_name = escape( str( folder.name ), quote=True ) folder_description = escape( str( folder.description ), quote=True ) %>

%if message: ${render_msg( message, status )} %endif
Edit folder name and description
%if ( trans.user_is_admin() and cntrller == 'library_admin' ) or trans.app.security_agent.can_modify_library_item( current_user_roles, folder ):
%else:
${folder_name}
${folder_description}
%endif
%if widgets: ${render_template_fields( cntrller=cntrller, item_type='folder', library_id=library_id, widgets=widgets, widget_fields_have_contents=widget_fields_have_contents, info_association=info_association, inherited=inherited, folder_id=trans.security.encode_id( folder.id ) )} %endif