Project

General

Profile

« Previous | Next » 

Revision 1974

Added by Matt Jones over 20 years ago

Additional work on the NCEAS/AdminDB integration. Working Groups now
presented as a dropdown box for multiple selection. Need to write the
info to the XML file now and handle it in confirmation template.

View differences:

entryForm.tmpl
102 102
[% END %]
103 103
[% IF cfg == 'nceas' %]
104 104
        <p align="left"> <font size="-1">
105
          <input type="TEXT" name="site" size="40" value="[%site%]">
106
          <b><font color="#ff0000">*</font>Working Group Name</b></font></p>
105
          <select name="wg" multiple="multiple">
106
            [% FOREACH project = projects %]
107
              [% SET label = "${project.1}: $project.3 (NCEAS ${project.0})" %]
108
              [% SET sel = '' %]
109
              [% FOREACH group = wg %]
110
                  [% IF group == label %]
111
                      [% SET sel = 'selected="selected"' %]
112
                  [% END %]
113
              [% END %]
114
              <option [% sel %]>[% label %]</option>
115
            [% END %]
116
          </select>
117
          <b><font color="#ff0000">*</font>Working Group(s)</b></font></p>
107 118
[% END %]
108 119
        <p align="left"><font size="-1"> 
109 120
          <input type="TEXT" name="title" value="[%title%]" size="53">

Also available in: Unified diff