Skip to content
Snippets Groups Projects
Commit b69e3458 authored by xuechen5's avatar xuechen5
Browse files

Fix indention and duplicate blank lines

parent 68b4dda5
No related branches found
No related tags found
1 merge request!6Uc91v2
......@@ -22,11 +22,9 @@ boolean formIsFilled = request.getParameter("formIsFilled") != null && request.g
if (formIsFilled) {
//This page is not actually a "page", it just adds a user and forwards.
PatientBean p = new BeanBuilder<PatientBean>().build(request.getParameterMap(), new PatientBean());
HealthRecordForm h = new BeanBuilder<HealthRecordForm>().build(request.getParameterMap(), new HealthRecordForm());
String pwd = request.getParameter("password");
String VerifyPwd = request.getParameter("verifyPassword");
......@@ -45,7 +43,6 @@ if (formIsFilled) {
loggingAction.logEvent(TransactionType.PATIENT_CREATE, newMID, newMID, "");
%>
<div align=center>
<span class="iTrustMessage">New Pre-registered Prepatient <%= StringEscapeUtils.escapeHtml("" + (fullname)) %> successfully added!</span>
<br /><br />
......@@ -59,13 +56,9 @@ if (formIsFilled) {
<td></td>
</tr>
</table>
<br />Please get this information to <b><%= StringEscapeUtils.escapeHtml("" + (fullname)) %></b>!
</div>
<br />Please get this information to <b><%= StringEscapeUtils.escapeHtml("" + (fullname)) %></b>
</div>
<%
} catch(FormValidationException e) {
%>
<div align=center>
......@@ -80,9 +73,7 @@ if (formIsFilled) {
<!-- StringEscapeUtils.escapeHtml(ex.getMessage()) -->
</div>
<%
}
}
}else{
%>
<script type="text/javascript">
......@@ -91,7 +82,6 @@ if (formIsFilled) {
document.getElementById('submit_preregister').disabled = true;
</script>
<%
}
}
......@@ -177,7 +167,7 @@ to recover the password.</div>
<td class="subHeaderVertical">Smoker:</td>
<td><input type="radio" id="smoker_yes" name="isSmoker" value="1">
<label for="smoker_yes">Yes</label>
<br />
<br />
<input type="radio" id="smoker_no" name="isSmoker" value="0" checked">
<label for="smoker_no">No</label><br />
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment