%form{:action => "/posts", :method => "post"} %h1 Title %input{:type => "text", :name => "post[title]"} %h1 Body %input{:type => "text", :name => "post[body]"} %input{:type => "submit"}