| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" | |
| xmlns:ui="http://java.sun.com/jsf/facelets" | |
| xmlns:h="http://java.sun.com/jsf/html" | |
| xmlns:f="http://java.sun.com/jsf/core"> | |
| <ui:composition template="template.jsf"> | |
| <ui:define name="title"> | |
| <h:outputText value="#{viewLeague.leagueId}" /> | |
| </ui:define> | |
| <ui:define name="subtitle"> | |
| <h:outputText value="Create Division" /> | |
| </ui:define> | |
| <ui:define name="crumb1"> | |
| <h:commandLink value="MySports" action="index" style="crumb"/> | |
| </ui:define> | |
| <ui:define name="body"> | |
| <h:form> | |
| <h:panelGrid width="100%" columns="2" border="1" styleClass="pretty"> | |
| <h:outputLabel value="Division Name:"/> | |
| <h:inputText value="#{createDivision.name}" /> | |
| <f:facet name="footer"> | |
| <div align="center"> | |
| <h:commandButton value="Create" action="#{createDivision.create}"/> | |
| <h:commandButton value="Cancel" action="#{createDivision.cancel}"/> | |
| </div> | |
| </f:facet> | |
| </h:panelGrid> | |
| </h:form> | |
| </ui:define> | |
| </ui:composition> | |
| </html> |