<%@ include file="/WEB-INF/decorators/include.jsp"%>

<html>
<head>
	<script type='text/javascript' src='./javascripts/prototype.js'></script>
	<script type='text/javascript' src='./javascripts/scriptaculous.js'></script>
	<script type='text/javascript' src='./javascripts/effects.js'></script>
	<script type='text/javascript' src='./javascripts/yacos/submissionArticle.js'></script>
</head>
<body>


<h4 class="title"><fmt:message key="submission.title" /></h4>
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle">
	<fieldset>

	<form:label path="title"><fmt:message key="form.submission.article.title" /></form:label>  <form:input path="title"/> <font color="red"><form:errors path="title"/></font> <br/><br />
	
	<form:label path="theme"><fmt:message key="form.submission.article.theme" /></form:label>  <form:input path="theme"/> <font color="red"><form:errors path="theme"/></font><br/><br />
	
	<form:label path="abstractText"><fmt:message key="form.submission.article.abstractText" /></form:label>  <form:textarea path="abstractText" /><font color="red"><form:errors path="abstractText"/></font><br/><br/>
	
	<hr/> <br/>
	
	</fieldset>
	<fieldset>
	
	<label for="listauthor"><fmt:message key="form.submission.listauthor" /></label> <br /><br />
	<form:label path="mainauthor"><fmt:message key="form.submission.mainauthor" /></form:label>: <b>${currentUser.firstName} ${currentUser.lastName}</b>
    <br/> <br/>
	<label for="newSecondaryAuthor"><fmt:message key="form.submission.secondaryauthor" /></label>
	<input id="newSecondaryAuthorInput" type="text" name="newSecondaryAuthor" />
	<input type="button" id="addSecondaryButton" name="addSecondary" value="<fmt:message key="button.add" />">
	
	<div id="secondaryAuthorList" class="dynamicList">
		<div class="dynamicListHeader">
			<fmt:message key="form.submission.secondaryauthor" />
		</div>
	</div>
	<input type="button" id="removeSecondaryButton" name="removeSecondary" value="<fmt:message key="button.removeSelected" />"/>
	
 	<br /><br />
	</fieldset>
	<hr /> 
	<fieldset>
	<br />
	File <input type="file" name="file"/>
	
	
	<br /><br />
	<input type="reset" value="<fmt:message key="button.reset" />"/>
	<input type="submit" value="<fmt:message key="button.OK" />"/> <br/><br/>
	</fieldset>
</form:form>



<a href="<c:url value="main.htm"/>">Home</a>


  </body>
</html>
