def get_editor(request): editor_less.need() return { 'project': 'm4ed', 'items': request.context }
def get_edit_index(request): editor_less.need() spaces_array = [] for space in request.context: spaces_array.append(space) return { 'spaces': request.context, 'spaces_array': spaces_array }
def get_edit_cluster(request): editor_less.need() return { 'cluster': request.context.stripped, 'space_title': request.context.get_space_title() }
def get_edit_space(request): editor_less.need() return { 'space': request.context.stripped }