2010-01-27 63 views

回答

1

其實你不需要它。

<form action="" method="post"> 
<input type="text" name="email" /> 
</form> 

如果您將動作保留爲空,它將被髮送到當前的URL。

但是,如果您因爲某些其他原因需要當前網址,則可以通過致電pylons.url.current()

相關問題