Escape input values in new user address form.

This commit is contained in:
Nate Coraor
2014-12-02 12:17:42 -05:00
parent c4ad6d7ae6
commit bc9256c3e6
+9 -9
View File
@@ -21,7 +21,7 @@
<div class="form-row">
<label>Short Description:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="short_desc" value="${short_desc}" size="40">
<input type="text" name="short_desc" value="${short_desc | h}" size="40">
</div>
<div class="toolParamHelp" style="clear: both;">Required</div>
<div style="clear: both"></div>
@@ -29,7 +29,7 @@
<div class="form-row">
<label>Name:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="name" value="${name}" size="40">
<input type="text" name="name" value="${name | h}" size="40">
</div>
<div class="toolParamHelp" style="clear: both;">Required</div>
<div style="clear: both"></div>
@@ -37,7 +37,7 @@
<div class="form-row">
<label>Institution:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="institution" value="${institution}" size="40">
<input type="text" name="institution" value="${institution | h}" size="40">
</div>
<div class="toolParamHelp" style="clear: both;">Required</div>
<div style="clear: both"></div>
@@ -45,7 +45,7 @@
<div class="form-row">
<label>Address:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="address" value="${address}" size="40">
<input type="text" name="address" value="${address | h}" size="40">
</div>
<div class="toolParamHelp" style="clear: both;">Required</div>
<div style="clear: both"></div>
@@ -53,7 +53,7 @@
<div class="form-row">
<label>City:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="city" value="${city}" size="40">
<input type="text" name="city" value="${city | h}" size="40">
</div>
<div class="toolParamHelp" style="clear: both;">Required</div>
<div style="clear: both"></div>
@@ -61,7 +61,7 @@
<div class="form-row">
<label>State/Province/Region:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="state" value="${state}" size="40">
<input type="text" name="state" value="${state | h}" size="40">
</div>
<div class="toolParamHelp" style="clear: both;">Required</div>
<div style="clear: both"></div>
@@ -69,7 +69,7 @@
<div class="form-row">
<label>Postal Code:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="postal_code" value="${postal_code}" size="40">
<input type="text" name="postal_code" value="${postal_code | h}" size="40">
</div>
<div class="toolParamHelp" style="clear: both;">Required</div>
<div style="clear: both"></div>
@@ -77,7 +77,7 @@
<div class="form-row">
<label>Country:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="country" value="${country}" size="40">
<input type="text" name="country" value="${country | h}" size="40">
</div>
<div class="toolParamHelp" style="clear: both;">Required</div>
<div style="clear: both"></div>
@@ -85,7 +85,7 @@
<div class="form-row">
<label>Phone:</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="phone" value="${phone}" size="40">
<input type="text" name="phone" value="${phone | h}" size="40">
</div>
<div style="clear: both"></div>
</div>