Skip to content

Instantly share code, notes, and snippets.

@chingovan
Created June 27, 2015 15:24
Show Gist options
  • Save chingovan/6da78673c0d6f54ff96b to your computer and use it in GitHub Desktop.
Save chingovan/6da78673c0d6f54ff96b to your computer and use it in GitHub Desktop.
<%@ include file="/html/database/init.jsp"%>
<portlet:actionURL var="addStudentURL" name="addStudent">
</portlet:actionURL>
<aui:form action="<%=addStudentURL%>" method="post">
<aui:input label="code" name="code" type="text" value="" />
<aui:input label="name" name="fullName" type="text" value="" />
<aui:input label="birthday" name="birthday" type="date" value="" />
<aui:input label="gender" name="gender" type="checkbox" value="" />
<aui:input label="address" name="address" type="text" value="" />
<aui:button type="submit" />
</aui:form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment