Project

General

Profile

« Previous | Next » 

Revision 8044

prep for ajax/metacatui use of login form

View differences:

lib/style/common/templates/metacatui/loginForm.tmpl
1
[% INCLUDE "metacatui/genericHeader.tmpl" %]
2 1
	
3 2
<script language="JavaScript" type="text/javascript" src="[% styleCommonPath %]/templates/metacatui/login.js"></script>
4 3

  
......
10 9
				<div class="span6 pagination-left">
11 10
					<h2>Login</h2>
12 11
  
13
					<form method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
12
					<form id="loginForm" method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
14 13
						<input type="hidden" name="stage" value="login"> 
15 14
						<input type="hidden" name="username" value=""> 
16 15
						<input type="hidden" name="cfg" value="[%cfg%]"> 
......
45 44
							</div>
46 45
							<div class="row-fluid">
47 46
								<div class="offset2 span4 text-left">
48
									<input type="submit" class="btn" name="loginAction" value="Login">
47
									<input type="hidden" name="loginAction" value="Login">
48
									<input type="button" class="btn" id="loginButton" value="Login">
49 49
								</div>
50 50
							</div>
51 51
						</div>

Also available in: Unified diff