我有这个非常简单的html页面,我从接缝移植到playframework ....输入键工作,我看到打印的日志告诉我电子邮件,但点击输入按钮不起作用。任何想法我的HTML有什么问题?我以为我有这个匹配游戏框架的例子:(
#{extends 'template.html' /}
#{set title:'Registration for Premonition X' /}
#{set desc:'This is the registration page for Premonition X and all other applications in our marketplace'/}
<div class="regico lt"></div>
<div class="logindiv rt">
<h2 class="title">Register</h2>
<br/>
#{form @registerStep2(), id:'register'}
<div id="register:emailDecorate">
<div class="entry">
<div class="spacer"></div>
#{field 'email'}
<span class="label ${field.errorClass}">Email:</span>
<span class="input ${field.errorClass}">
<input type="text" name="${field.name}" value="${flash.email}" class="boxtpl"/>
<a id="newinfo" class="help" title="&{'help.email'}">Help</a>
<span class="error">${field.error}</span>
</span>
#{/field}
</div>
</div>
<br/>
<br/>
<div class="bt_box">
<span class="btn_next">
<input type="button" value="Next" class="btn"/>
</span>
<span class="btn_cancel">
<a href="@{Web.home()}" class="btn">Cancel</a>
</span>
</div>
#{/form}
</div>
答案 0 :(得分:2)