<%namespace file="/base/helper.html" name="helper" import="reStructuredTextHelp, entityLinkingHelp, embeddingFileHelp, embeddingFormHelp"/> <%def name="addEditForm(addEdit)">
User Info
  1. % if addEdit == 'edit': % else: % endif
  2. % if addEdit == 'edit':
  3. % else:
  4. % endif
Role
    % if session['user_role'] == 'administrator':
  1. ${h.select(name='role', selected_values='', options=app_globals.roles, tabindex=7)}
  2. % else:
  3. ${h.select(name='role', selected_values='', options=[session['user_role']], tabindex=7)}
  4. % endif
Speaker Page Content
  1. To give formatting and structure to the content, use the reStructuredText ${reStructuredTextHelp()} markup language. Create HTML links to OLD entities ${entityLinkingHelp()} using the syntax 'form(a)', 'collection(b)', etc., where 'a' and 'b' are IDs. Embed representations of OLD Files ${embeddingFileHelp()} or Forms ${embeddingFormHelp()} with 'file[x]' and 'form[y]' respectively

<%def name="settings()"> <% orthographyOptions = [(u'', u'')] + [(key, \ app_globals.OLOrthographies[key][0]) for key in \ app_globals.OLOrthographies if app_globals.OLOrthographies[key][0]] %>
Default Collection View
  1. This setting determines how a Collection's content will be displayed by default

    ${h.select(name='collectionViewType', selected_values='', \ options=app_globals.collectionViewTypes, tabindex=1)}
Input Orthography
  1. The selected orthography is that which ${c.researcher.firstName} \ ${c.researcher.lastName} will use when entering and searching for object \ language data. If nothing is selected, the system-wide default input \ orthography (${app_globals.defaultInputOrthography[0]}) will be used.

    ${h.select(name='inputOrthography', selected_values='', \ options=orthographyOptions, tabindex=2)}
Output Orthography
  1. The selected orthography is that which be used to display object \ language data to ${c.researcher.firstName} ${c.researcher.lastName}. If \ nothing is selected, the system-wide default output orthography \ (${app_globals.defaultOutputOrthography[0]}) will be used.

    ${h.select(name='outputOrthography', selected_values='', \ options=orthographyOptions, tabindex=3)}