search for: techpeac

Displaying 1 result from an estimated 1 matches for "techpeac".

Did you mean: techpeace
2006 Dec 20
3
Conditional :value in text_field?
<p> <label for="person_languages">Languages</label> <%= text_field ''person'', ''languages'', {:value => "English" } %> </p> I only want to send the value of "English" if @person.languages.empty? Rails doesn''t like my attempts so far. Has anyone been able to do this? -- Posted via