<%@ page contentType="text/html; charset=UTF-8"%><%@ include file="/WEB-INF/jspf/include/taglibs.jsp"%>

<div class="buttons">
	<<button class="btn btn-secondary" onclick="showBlock( 'cerbercryptRoot', 'list', cerbercryptQuery );">К списку...</button></div>
</div>

<%--
<xsl:if test="/data/@status = 'ok'"><div class="alert alert-primary">Пароль изменен!</div></xsl:if>
--%>

<div class="tile">

	<bg:blockTitle title="Смена пароля карты"/>

	<form>
		<input type="hidden" name="userCardId" value="${userCard.id}"/>
		<div class="textFieldLabel mTop10">Номер карты:</div>
		<div class="textField"><input type="text" name="number" disabled="disabled" placeholder="${userCard.number}" /></div>
		<div class="textFieldLabel mTop10">Текущий пароль:</div>
		<div class="textField"><input type="password" name="cardPswd0" required="required"/></div>
		<div class="textFieldLabel mTop10">Новый пароль:</div>
		<div class="textField"><input type="password" name="cardPswd1" required="required"/></div>
		<div class="textFieldLabel mTop10">Новый пароль(повтор):</div>
		<div class="textField"><input type="password" name="cardPswd2" required="required"/></div>
	
		<div class="formButtons"><button class="btn btn-primary" onclick="return doOrder( this.form );" >Сохранить</button></div>
	</form>
</div>