<commit_before><%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<jsp:useBean id="date" class="java.util.Date" />

<fmt:formatDate var="year" value="${date}" pattern="yyyy" />

<html>
	<head>
		<jsp:include page="/WEB-INF/template/head.jsp" />
	</head>

	<body>
	
		<jsp:include page="/WEB-INF/template/header.jsp" />
	
		<h1>Time Worked | Form D</h1>
		
		<c:if test="${not empty error_messages}">
			<p class="notify-msg error">
				<strong>Error:</strong>
				<c:forEach items="${error_messages}" var="error_message">
					<c:out value="${error_message}" />
					<br/>
				</c:forEach>
			</p>
		</c:if>
		
		<form action="./formd" method="post" accept-charset="utf-8">
		
			<dl class="block-layout">
	
				<dt><label class="required">Who needs to verify?</label></dt>
				<dd>
					<select name="Email" autofocus>
						<option value="">(Select)</option>
						<c:forEach items="${verifiers}" var="verifier">
							<option><c:out value="${verifier}" />${verifier}</option>
						</c:forEach>
					</select>
				</dd>
				
				<dt><label for="AmountWorked" class="required">Total amount of work</label></dt>
				<dd>
					<input size='5' type='number' name='AmountWorked' value='<c:out value="${AmountWorked}" />' style="width:64pt" />
					<label for="AmountWorked">Hours</label>
				</dd>
				
				<dt><label for="StartMonth" class="required">Date</label></dt>
				<dd>
					<input id='startMonth' size='5' type='number' name='StartMonth' min='01' max='12' placeholder='MM' value='<c:out value="${StartMonth}" />' />
					/
					<input id='startDay' size='5' type='number' name='StartDay' min='01' max='31' step='1' placeholder='DD' value='<c:out value="${StartDay}" />' />
					/
					<input id='startYear' size='5' type='number' name='StartYear' min='${year}' max='${year+1}' step='1' placeholder='YYYY' value='<c:out value="${StartYear}" />' />
				</dd><commit_msg>Second try to correctly display verifiers email in dropdown for form d<commit_after><%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<jsp:useBean id="date" class="java.util.Date" />

<fmt:formatDate var="year" value="${date}" pattern="yyyy" />

<html>
	<head>
		<jsp:include page="/WEB-INF/template/head.jsp" />
	</head>

	<body>
	
		<jsp:include page="/WEB-INF/template/header.jsp" />
	
		<h1>Time Worked | Form D</h1>
		
		<c:if test="${not empty error_messages}">
			<p class="notify-msg error">
				<strong>Error:</strong>
				<c:forEach items="${error_messages}" var="error_message">
					<c:out value="${error_message}" />
					<br/>
				</c:forEach>
			</p>
		</c:if>
		
		<form action="./formd" method="post" accept-charset="utf-8">
		
			<dl class="block-layout">
	
				<dt><label class="required">Who needs to verify?</label></dt>
				<dd>
					<select name="Email" autofocus>
						<option value="">(Select)</option>
						<c:forEach items="${verifiers}" var="verifier">
							<option><c:out value="${verifier}" /></option>
						</c:forEach>
					</select>
				</dd>
				
				<dt><label for="AmountWorked" class="required">Total amount of work</label></dt>
				<dd>
					<input size='5' type='number' name='AmountWorked' value='<c:out value="${AmountWorked}" />' style="width:64pt" />
					<label for="AmountWorked">Hours</label>
				</dd>
				
				<dt><label for="StartMonth" class="required">Date</label></dt>
				<dd>
					<input id='startMonth' size='5' type='number' name='StartMonth' min='01' max='12' placeholder='MM' value='<c:out value="${StartMonth}" />' />
					/
					<input id='startDay' size='5' type='number' name='StartDay' min='01' max='31' step='1' placeholder='DD' value='<c:out value="${StartDay}" />' />
					/
					<input id='startYear' size='5' type='number' name='StartYear' min='${year}' max='${year+1}' step='1' placeholder='YYYY' value='<c:out value="${StartYear}" />' />
				</dd>
{'fraction_non_alphanumeric': 0.23149492017416545, 'fraction_numerical': 0.010159651669085631, 'mean_word_length': 4.104938271604938, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2614888', 'n_tokens_mistral': 1750, 'n_tokens_neox': 1449, 'n_words': 264}