Rails 3.2 (Active Admin を使用) で Formtastic 2.1.1 を使用しており、入力フィールドが存在しないフォームに行を挿入したいと考えています。これは可能ですか?これを実現するための Formtastic DSL の構文は何ですか?
次に例を示します。
form do |f|
f.inputs "Model Info" do
f.input :title
f.input :published
f.input :path
end
end
私はこのようなことをしたいと思います:
form do |f|
f.inputs "Model Info" do
f.input :title
f.input :published
f.input :path
f.div "This is some important text that people using this form need to know"
end
end
以前に Formtastic でこれを行った人はいますか?