Skip to content

Instantly share code, notes, and snippets.

@whiteship
Created February 5, 2012 07:12
Show Gist options
  • Select an option

  • Save whiteship/1743738 to your computer and use it in GitHub Desktop.

Select an option

Save whiteship/1743738 to your computer and use it in GitHub Desktop.
bootstrap form sample
<form class="form-horizontal" action="<c:url value='j_spring_security_check'/>" method="POST">
<fieldset>
<legend>봄싹 들어가기();</legend>
<div class="control-group">
<label class="control-label" for="login_field">Email</label>
<div class="controls">
<input id="login_field" class="input-xlarge" type='text' name='j_username' value="" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="password">Password</label>
<div class="controls">
<input id="password" class="input-xlarge" type='password' name='j_password' />
<p class="help-block"><a href="<c:url value="/forgetpassword"/>">(forgot password)</a></p>
</div>
</div>
<div class="control-group">
<label class="control-label" for="remember">Remember Me</label>
<div class="controls">
<label class="checkbox">
<input id="remember" type="checkbox" name="_spring_security_remember_me" checked="true" />
</label>
</div>
</div>
<c:if test="${ajaxlogin_yn == 'N'}">
<input type="hidden" value="${param.returnURL}" name = "spring-security-redirect" />
</c:if>
<div class="form-actions">
<button type="submit" class="btn btn-primary">들어가기</button>
<button type="reset" class="btn">다시입력</button>
</div>
</fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment