我建立了自己的注册表单,当我尝试注册用户时,它并没有反应。与FOSUserBundle的一切都很好。另外,当我使用默认的FOSUserBundle注册表单时,它将工作并将所有数据保存在我的表格中。我应该只使用FOSUserBundle的默认表单还是什么?注册表格[FOSUserBundle]
这里是我的形式,我提出:
<form action="{{ path('fos_user_registration_register') }}" method="post">
<p>
<input type="text" name="name"/>
</p>
<p>
<input type="text" name="surname" />
</p>
<p>
<input type="text" name="email" />
</p>
<p>
<input type="password" name="password"/>
</p>
<p>
<input type="submit" name="submit" value="Sign up"/>
</p>
</form>
请在问一个问题时更精确......它没有反应很难成为任何东西......你不能提交表格,它超时了,它不会做你想要的吗? – nifr