Rails组件逐个数:Rails Form helpers(续)

 

<%= text_field(:person, :name) %>

渲染成HTML係

<input id="person_name" name="person[name]" type="text" value="Henry"/>
posted @ 2011-11-08 15:23  klobodnf  阅读(148)  评论(0编辑  收藏  举报