<%namespace file="/base/javascriptDefs.html" name="javascriptDefs" \ import="checkForDuplicateTranscriptionScript, guessMorphologyScript"/>
Primary Data
    <% narrPhonVis = 'visible' if c.displayNarrowPhoneticTranscriptionField else 'hidden' narrPhonDisp = 'block' if c.displayNarrowPhoneticTranscriptionField else 'none' broadPhonVis = 'visible' if c.displayBroadPhoneticTranscriptionField else 'hidden' broadPhonDisp = 'block' if c.displayBroadPhoneticTranscriptionField else 'none' %>

  1. ${h.select(name='grammaticality', selected_values="", options=app_globals.grammaticalities, tabindex=1)} % if session.get('guessMorphology'): % else: % endif



  2. ${c.morphemeBreakKeyboardTable}


  3. ${h.select(name='glosses-0.grammaticality', selected_values="", options=app_globals.grammaticalities, tabindex=4)} % if hasattr(c, 'viewExtraGlossesFields') and c.viewExtraGlossesFields: -
  4. % else: +
    % endif

  5. ${h.select(name='glosses-1.grammaticality', selected_values="", options=app_globals.grammaticalities, tabindex=5)}

  6. ${h.select(name='glosses-2.grammaticality', selected_values="", options=app_globals.grammaticalities, tabindex=5)}

  7. ${h.select(name='glosses-3.grammaticality', selected_values="", options=app_globals.grammaticalities, tabindex=5)}
Secondary Data


  1. <% elicitationMethods = [('', '')] + [(elicitationMethod.id, elicitationMethod.name) for elicitationMethod in app_globals.elicitationMethods] %> ${h.select(name='elicitationMethod', selected_values="", options=elicitationMethods, tabindex=7)}
    • % for i in range(len(app_globals.keywords)):
    • % endfor
  2. <% syncats = [('', '')] + [(syncat.id, syncat.name) for syncat in app_globals.syncats] %> ${h.select(name='syntacticCategory', selected_values="", options=syncats, tabindex=9)}
Who and When
  1. <% speakers = [('', '')] + [(speaker.id, speaker.firstName + ' ' + speaker.lastName) for speaker in app_globals.speakers] %> ${h.select(name='speaker', selected_values="", options=speakers, tabindex=10)}
  2. <% users = [('', '')] + [(user.id, user.firstName + ' ' + user.lastName) for user in app_globals.users if user.role != u'viewer'] %> ${h.select(name='elicitor', selected_values="", options=users, tabindex=11)}
  3. ${h.select(name='verifier', selected_values="", options=users, tabindex=12)}
  4. <% sources = [('', '')] + [(source.id, source.authorLastName + ', ' + source.authorFirstName[0].upper() + '. ' + unicode(source.year) + '. ' + source.title[:10] + '...') for source in app_globals.sources] %> ${h.select(name='source', selected_values="", options=sources, tabindex=13)}
  5. <% dateFormat = session.get('userSettings').get('dateFormat') if not dateFormat: dateFormat = 'MM/DD/YYYY' %>
${checkForDuplicateTranscriptionScript()} ${guessMorphologyScript()}