module BivouacSample::Views def remote_form html do head do javascript_include_tag :defaults end body do h1 "remote_form" form_remote_tag( :url => R(SubmitRemote), :update => 'and-i-say' ) do span "Avant j'utilisais ROR, maintenant j'utilise... " input( :type => 'text', :name => 'response', :value => '' ) end div( :id => "and-i-say") do; end end end end end