search for: text_fr

Displaying 2 results from an estimated 2 matches for "text_fr".

Did you mean: text_foo
2006 Apr 16
5
render :collection and default value
Hi all, I am having a lot of trouble to get the default value of text fields when they are generated by a partial from a collection. I have been on this for a whole week and I didnt find a single exemple on the internet of someone using a partial that generate text field with a default value. I cant believe that I am the only one having this problem. Anyone has an exemple they can show me?
2006 Apr 11
1
Default value in a Partial that use index
...t; @variations )%> <input type="submit" value="Sauvegarder" /> <%= end_form_tag %> -----------LIST.RHTML------------- with this partial: <p> concept:<%= h(variation.concept.name) %> variation francaise:<%= text_field "variation", "text_fr","index" => variation.id %> variation anglaise:<%= text_field "variation", "text_en","index" => variation.id %> </p> ************* using the previous code, I can update the database but when I call the LIST page the fields aren...