<%@ taglib prefix="c" uri="/WEB-INF/common" %>

<%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>

<f:loadBundle var="bundle" basename="tvark.Resources"/>

<c:body step="#{2}">

    <h:outputFormat value="#{bundle.formatStepTitle}" styleClass="float-title">
        <f:param value="2" />
        <f:param value="#{bundle.titleSettings}" />
    </h:outputFormat>
        
    <t:panelGrid columns="3" styleClass="panel" columnClasses="panel,panel,panel" cellspacing="0">        
        <t:panelGroup colspan="2">
            <h:outputText value="#{bundle.maximumClassesInParallel}" />
        </t:panelGroup>
        
     <h:inputText size="5" value="#{parametersBean.numberOfRooms}" required="true" />
     
     <t:panelGroup colspan="2">
        <h:outputText value="#{bundle.maxHourLimit}" />
     </t:panelGroup>
     <h:inputText size="5" value="#{parametersBean.hourLimit}" required="true" />
     
     <h:outputText value="#{bundle.penaltyFor}" />
     <h:outputText value="#{bundle.teacherGap}" />
     <h:inputText size="5" value="#{parametersBean.teacherGap}" required="true" />
     
     <h:outputText />
     <h:outputText value="#{bundle.studentGap}" />
     <h:inputText size="5" value="#{parametersBean.studentGap}" required="true" />
     
     <h:outputText />
     <h:outputText value="#{bundle.dayoffViolation}" />
     <h:inputText size="5" value="#{parametersBean.dayOffViolation}" required="true" />
     
     <h:outputText />
     <h:outputText value="#{bundle.exceedingMaximum}" />
     <h:inputText size="5" value="#{parametersBean.exceedingHourLimit}" required="true" />
    
     <h:outputText />
     <h:outputText value="#{bundle.pedagoginesDidaktikos}" />
     <h:inputText size="5" value="#{parametersBean.pedagoginesDidaktikos}" required="true" />
    
    </t:panelGrid>
    
    <h:commandButton action="#{parametersBean.set}" value="#{bundle.set}" styleClass="button" />
        

</c:body>
