Sha256: 0e51cc94d575f5d1f6373559cf6a9b32e486c5784feba6fdcee7344409e401be

Contents?: true

Size: 571 Bytes

Versions: 18

Compression:

Stored size: 571 Bytes

Contents

module BivouacSample::Views
  def submit_remote
    html do
      head do
        javascript_include_tag :defaults
        stylesheet_link_tag "autocomplete"
      end
      body do
        h1 "submit_to_remote"
        
        form do
          span "Avant j'utilisais ROR, maintenant j'utilise... "
          input( :type => 'text', :name => 'response', :value => '' )
          submit_to_remote( 'say', 'Vérifier ma réponse', :update => 'and-i-say', :url => R(SubmitRemote))
        end
        
        div( :id => "and-i-say") do; end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bivouac-0.0.7 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.1.0 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.1.1 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.0.8 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.0.9 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.1.2 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.1.3 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.1.4 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.1.5 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.1.6 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.2.0 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.2.1 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.2.2 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.2.3 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.3.0 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.2.4 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.2.5 examples/bivouac_sample/app/views/submit_remote.rb
bivouac-0.4.0 examples/bivouac_sample/app/views/submit_remote.rb