Skip to content

Commit

Permalink
textarea for description
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelNiklaus committed Dec 10, 2014
1 parent b6c72fd commit 787b961
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Skeleton/src/main/webapp/pages/profile.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<div class="form-group ${status.error ? 'has-error has-feedback' : ''}">
<label class="control-label col-sm-3" for="description">Description</label>
<div class="col-sm-9">
<form:input path="description" class="form-control" id="description" type="text" maxlength="1000" placeholder="Description" value="${loggedInUser.description}"/>
<form:textarea path="description" class="form-control" id="description" type="text" maxlength="1000" placeholder="Description" value="${loggedInUser.description}"/>
<form:errors path="description" class="help-block" element="span" />
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions Skeleton/src/main/webapp/pages/register.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<div class="form-group ${status.error ? 'has-error has-feedback' : ''}">
<label class="control-label col-sm-3" for="houseNr">House Number</label>
<div class="col-sm-9">
<form:input path="houseNr" class="form-control" id="houseNr" type="text" maxlength="45" placeholder="House Number" />
<form:input path="houseNr" class="form-control" id="houseNr" type="number" maxlength="45" placeholder="House Number" />
<form:errors path="houseNr" class="help-block" element="span" />
</div>
</div>
Expand All @@ -81,7 +81,7 @@
<div class="form-group ${status.error ? 'has-error has-feedback' : ''}">
<label class="control-label col-sm-3" for="zip">ZIP-Code</label>
<div class="col-sm-9">
<form:input path="zip" class="form-control" id="zip" type="text" maxlength="45" placeholder="ZIP-Code" />
<form:input path="zip" class="form-control" id="zip" type="number" maxlength="45" placeholder="ZIP-Code" />
<form:errors path="zip" class="help-block" element="span" />
</div>
</div>
Expand All @@ -99,7 +99,7 @@
<div class="form-group ${status.error ? 'has-error has-feedback' : ''}">
<label class="control-label col-sm-3" for="description">Description</label>
<div class="col-sm-9">
<form:input path="description" class="form-control" id="description" type="text" maxlength="1000" placeholder="Description" value="${loggedInUser.description}"/>
<form:textarea path="description" class="form-control" id="description" type="text" maxlength="1000" placeholder="Description" value="${loggedInUser.description}"/>
<form:errors path="description" class="help-block" element="span" />
</div>
</div>
Expand Down

0 comments on commit 787b961

Please sign in to comment.