提交 beca1af8 编写于 作者: J James Miller

ERB update for AC overview guide

上级 4c4fd1a6
......@@ -492,10 +492,10 @@ The way this is done is to add a non-guessable token which is only known to your
If you generate a form like this:
<ruby>
<% form_for @user do |f| -%>
<%= form_for @user do |f| %>
<%= f.text_field :username %>
<%= f.text_field :password -%>
<% end -%>
<% end %>
</ruby>
You will see how the token gets added as a hidden field:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册