diff --git a/src/main/webapp/WEB-INF/jsp/pets/createOrUpdateVisitForm.jsp b/src/main/webapp/WEB-INF/jsp/pets/createOrUpdateVisitForm.jsp
index 4c65be8..4fe1648 100644
--- a/src/main/webapp/WEB-INF/jsp/pets/createOrUpdateVisitForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/pets/createOrUpdateVisitForm.jsp
@@ -5,6 +5,8 @@
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="joda" uri="http://www.joda.org/joda/time/tags" %>
+<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
+
<html lang="en">
@@ -40,22 +42,10 @@
</table>
<form:form modelAttribute="visit">
- <div class="control-group">
- <label class="control-label">Date </label>
-
- <div class="controls">
- <form:input path="date"/>
- <span class="help-inline"><form:errors path="date"/></span>
- </div>
- </div>
- <div class="control-group">
- <label class="control-label">Description </label>
-
- <div class="controls">
- <form:input path="description"/>
- <span class="help-inline"><form:errors path="description"/></span>
- </div>
- </div>
+
+ <petclinic:inputField label="date" name="date" />
+ <petclinic:inputField label="description" name="description" />
+
<div class="form-actions">
<input type="hidden" name="petId" value="${visit.pet.id}"/>
<button type="submit">Add Visit</button>