Project

General

Profile

« Previous | Next » 

Revision 7929

View differences:

lib/style/common/templates/metacatui/entryForm.tmpl
54 54
			<!--  the main form -->
55 55
			<div class="row-fluid">
56 56
			
57
<form action="[% cgiPrefix %]/register-dataset.cgi" enctype="multipart/form-data" method="post" class="form-horizontal">
58
  <input type="hidden" name="cfg" value="[% cfg %]">
59
  <input type="hidden" name="docid" value="[% docid %]">
60
  <input type="hidden" name="stage" value="insert">
57
				<form action="[% cgiPrefix %]/register-dataset.cgi" enctype="multipart/form-data" method="post" class="form-horizontal">
58
					<input type="hidden" name="cfg" value="[% cfg %]">
59
					<input type="hidden" name="docid" value="[% docid %]">
60
					<input type="hidden" name="stage" value="insert">
61 61
  
62 62
  				<div class="accordion" id="entryFormAccordian">
63 63
					<div class="accordion-group">
......
1353 1353
												          [% SET perm_a = "" %]
1354 1354
												          [% SET perm_b = "checked" %]
1355 1355
												        [% END %]
1356
												        [% IF fileName %]<div>
1357
												          [% $fileName %]
1358
												          <label class="radio inline">
1359
															<input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
1360
												          </label>
1361
												          <label class="radio inline">	
1362
												          	<input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
1363
												          </label>
1364
												          <label class="text inline">	
1365
															<input type="button" value="Delete" onclick="deleteFile(event, [%fileName%]);"/></div>
1356
												        [% IF fileName %]
1357
													        <div>
1358
													          [% $fileName %]
1359
													          <label class="radio inline">
1360
																<input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
1361
													          </label>
1362
													          <label class="radio inline">	
1363
													          	<input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
1364
													          </label>
1365
													          <label class="text inline">	
1366
																<input type="button" value="Delete" onclick="deleteFile(event, [%fileName%]);"/>
1367
															</div>
1366 1368
														[% END %]
1367 1369
												
1368 1370
												        [% cnt = cnt + 1 %]
......
1388 1390
    					</div>
1389 1391
					</div> <!-- end the accordinan -->
1390 1392
					
1391
	<input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="SUBMIT">
1392
						
1393
   
1394
</form>
1393
					<input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="submit">
1394
				</form>
1395
				
1395 1396
			</div> <!-- end the row -->
1396 1397
			
1397 1398
		</div>
1398 1399
	</article>
1399 1400

  
1400
[% INCLUDE $templates.footer %]
1401
[% INCLUDE $templates.footer %]

Also available in: Unified diff