Displaying 1 result from an estimated 1 matches for "generation_form".
2007 Jun 03
1
observer_field - select form
...e, {"cours"=>"c",
"exercice"=>"ex"},:include_blank=>true %>
<!-- we observe the select list -->
<%= observe_field ''type_article'',
:update => "formulaire",
:url=>{:action=>''generation_form''},
:with=>"''type_article='' + escape(value)",
%>
<div id="formulaire">-</div>
<%= submit_tag ''Edit'' %>
<% end %></code>
In the controller:
<code>def generation_form
t...