-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Registration Page to use EL #137
Conversation
<c:choose> | ||
<c:when test="${registerStatus == 'success'}"> | ||
<t:registersuccess /> | ||
</c:when> | ||
<c:when test="${registerStatus == 'fail'}"> | ||
<t:registerfail /> | ||
</c:when> | ||
<c:otherwise> | ||
<t:registerform /> | ||
</c:otherwise> | ||
</c:choose> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah this is dope! Nice work :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice mate! A few optional changes to make but won't stop a merge. If you want to make the changes, that'll be great otherwise I'm happy for this to be merged! (Do as you please!)
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary line breaks, but won't stop a merge.
</div> | ||
</div> | ||
<div class="col s12 center-align"> | ||
Already have an account? <a href="login">Login here</a>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use ${pageContext.request.contextPath}/login
for path consistency :)
<div class="col s12 center-align"> | ||
<div class="red-text"> | ||
Please ensure you make a note of this password before proceeding to | ||
<a href="login">login</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use ${pageContext.request.contextPath}/login
for path consistency :)
@@ -1,97 +1,10 @@ | |||
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | |||
<%@taglib prefix="t" tagdir="/WEB-INF/tags"%> | |||
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could remove the spaces here around the attribute/values, etc.
No description provided.