Merge pull request #800 from stianst/master

KEYCLOAK-786
This commit is contained in:
Stian Thorgersen 2014-10-23 21:00:16 +02:00
commit a2e38d8bd4
4 changed files with 12 additions and 12 deletions

View file

@ -20,7 +20,7 @@
</div> </div>
<div class="col-sm-10 col-md-10"> <div class="col-sm-10 col-md-10">
<input type="text" class="form-control" id="username" name="username" disabled="disabled" value="${account.username!''}"/> <input type="text" class="form-control" id="username" name="username" disabled="disabled" value="${(account.username!'')?html}"/>
</div> </div>
</div> </div>
@ -30,7 +30,7 @@
</div> </div>
<div class="col-sm-10 col-md-10"> <div class="col-sm-10 col-md-10">
<input type="text" class="form-control" id="email" name="email" autofocus value="${account.email!''}"/> <input type="text" class="form-control" id="email" name="email" autofocus value="${(account.email!'')?html}"/>
</div> </div>
</div> </div>
@ -41,7 +41,7 @@
</div> </div>
<div class="col-sm-10 col-md-10"> <div class="col-sm-10 col-md-10">
<input type="text" class="form-control" id="lastName" name="lastName" value="${account.lastName!''}"/> <input type="text" class="form-control" id="lastName" name="lastName" value="${(account.lastName!'')?html}"/>
</div> </div>
</div> </div>
@ -51,7 +51,7 @@
</div> </div>
<div class="col-sm-10 col-md-10"> <div class="col-sm-10 col-md-10">
<input type="text" class="form-control" id="firstName" name="firstName" value="${account.firstName!''}"/> <input type="text" class="form-control" id="firstName" name="firstName" value="${(account.firstName!'')?html}"/>
</div> </div>
</div> </div>

View file

@ -11,7 +11,7 @@
<label for="email" class="${properties.kcLabelClass!}">${rb.email}</label> <label for="email" class="${properties.kcLabelClass!}">${rb.email}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="text" id="email" name="email" value="${user.email!''}" class="${properties.kcInputClass!}" /> <input type="text" id="email" name="email" value="${(user.email!'')?html}" class="${properties.kcInputClass!}" />
</div> </div>
</div> </div>
@ -20,7 +20,7 @@
<label for="firstName" class="${properties.kcLabelClass!}">${rb.firstName}</label> <label for="firstName" class="${properties.kcLabelClass!}">${rb.firstName}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="text" id="firstName" name="firstName" value="${user.firstName!''}" class="${properties.kcInputClass!}" /> <input type="text" id="firstName" name="firstName" value="${(user.firstName!'')?html}" class="${properties.kcInputClass!}" />
</div> </div>
</div> </div>
@ -29,7 +29,7 @@
<label for="lastName" class="${properties.kcLabelClass!}">${rb.lastName}</label> <label for="lastName" class="${properties.kcLabelClass!}">${rb.lastName}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="text" id="lastName" name="lastName" value="${user.lastName!''}" class="${properties.kcInputClass!}" /> <input type="text" id="lastName" name="lastName" value="${(user.lastName!'')?html}" class="${properties.kcInputClass!}" />
</div> </div>
</div> </div>

View file

@ -21,7 +21,7 @@
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input id="username" class="${properties.kcInputClass!}" name="username" value="${login.username!''}" type="text" autofocus /> <input id="username" class="${properties.kcInputClass!}" name="username" value="${(login.username!'')?html}" type="text" autofocus />
</div> </div>
</div> </div>

View file

@ -11,7 +11,7 @@
<label for="username" class="${properties.kcLabelClass!}">${rb.username}</label> <label for="username" class="${properties.kcLabelClass!}">${rb.username}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="text" id="username" class="${properties.kcInputClass!}" name="username" value="${register.formData.username!''}" /> <input type="text" id="username" class="${properties.kcInputClass!}" name="username" value="${(register.formData.username!'')?html}" />
</div> </div>
</div> </div>
@ -20,7 +20,7 @@
<label for="firstName" class="${properties.kcLabelClass!}">${rb.firstName}</label> <label for="firstName" class="${properties.kcLabelClass!}">${rb.firstName}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="text" id="firstName" class="${properties.kcInputClass!}" name="firstName" value="${register.formData.firstName!''}" /> <input type="text" id="firstName" class="${properties.kcInputClass!}" name="firstName" value="${(register.formData.firstName!'')?html}" />
</div> </div>
</div> </div>
@ -29,7 +29,7 @@
<label for="lastName" class="${properties.kcLabelClass!}">${rb.lastName}</label> <label for="lastName" class="${properties.kcLabelClass!}">${rb.lastName}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="text" id="lastName" class="${properties.kcInputClass!}" name="lastName" value="${register.formData.lastName!''}" /> <input type="text" id="lastName" class="${properties.kcInputClass!}" name="lastName" value="${(register.formData.lastName!'')?html}" />
</div> </div>
</div> </div>
@ -38,7 +38,7 @@
<label for="email" class="${properties.kcLabelClass!}">${rb.email}</label> <label for="email" class="${properties.kcLabelClass!}">${rb.email}</label>
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input type="text" id="email" class="${properties.kcInputClass!}" name="email" value="${register.formData.email!''}" /> <input type="text" id="email" class="${properties.kcInputClass!}" name="email" value="${(register.formData.email!'')?html}" />
</div> </div>
</div> </div>