All pastes #896350 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-08 16:02 UTC
rendered paste body
compile error
/home/theshop/theShop/protolang/app/views/main/index.html.erb:14: syntax error
      :url => { :action => :get_correct_form }),
       ^
/home/theshop/theShop/protolang/app/views/main/index.html.erb:22: syntax error
).to_s); _erbout.concat "\n"
       ^




<select name="our_value_from_the_select_in_index_view" id="our_value_from_the_select_in_index_view">

  <option>Please select...</option>

  <option value="teacher">Teacher</option>

</select>



<%= observe_field(:our_value_from_the_select_in_index_view

      :url => { :action => :get_correct_form }),

      :frequency => 0.5,

      :update => "form_contents",

      :with => 'query'

%>



<div id="form_contents">

</div>