Displaying 1 result from an estimated 1 matches for "_formex".
Did you mean:
formex
2007 Jun 03
1
observer_field - select form
...<% end %></code>
In the controller:
<code>def generation_form
type_article = params[:type_article]
if type_article == "ex"
render :partial => "formex"
else
render :partial => "formart"
end
end</code>
the partial _formex:
<code>(formualaire exo)
<p><label for="cour_content">Contenu</label><br/>
<%= text_area ''cour'', ''content'' %></p></code>
thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------...