Project

General

Profile

« Previous | Next » 

Revision 9558

Added by Chris Jones about 8 years ago

Add a funding input textbox into the entry form (not hidden per Matt), and add the hidden inputs into the confirmData and genericResponse templates for maintaining state across stages.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

View differences:

entryForm.tmpl
121 121
										<input type="text" name="title" value="[%title%]">
122 122
									</div>
123 123
								</div>
124

  
124 125
								[% IF show.siteList == 'true' %]
125 126
									<div class="control-group">
126 127
										<label class="control-label" for="site">*[% config.site | ucfirst %] Name</label>
......
138 139
										</div>
139 140
									</div>
140 141
								[% END %]
142

  
141 143
								[% IF show.wgList == 'true' %]
142 144
									<div class="control-group">
143 145
										<label class="control-label" for="site">*NCEAS Project(s):</label>
......
162 164
										</div>
163 165
									</div>
164 166
								[% END %]
167

  
165 168
								[% IF show.organization == 'true' %]
166 169
									<div class="control-group">
167 170
										<label class="control-label" for="site">*Organization</label>
......
170 173
										</div>
171 174
									</div>
172 175
								[% END %]
176

  
177
								[% IF show.funding == 'true' %]
178
									<div id="funding-group" class="control-group">
179
										<label class="control-label" for="site">Grant Number</label>
180
										<div class="controls">
181
											<input type="text" id="funding" name="funding" value="[%funding%]">
182
										</div>
183
									</div>
184
								[% END %]
173 185
								
174 186
						    </div>
175 187
						</div>

Also available in: Unified diff