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