button_to 'Submit',url(:account, :login)
生成这样的表格:
<form action="/account/login" method="post">
<input type="submit" value="Submit">
</form>
但我想生成这样的东西:
<form action="/account/login" method="post">
<input type="submit" value="Submit" class="myclass">
</form>