Hey Rene,

du musst das select-field nicht selbst aufbauen. Rails hat dafür die FormHelper:

einmal nur für die Options von einem select:
http://www.railsbrain.com/api/rails-2.1.0/doc/index.html?a=M001936&name=options_for_select

und einmal ein komplettes select mit options:
http://www.railsbrain.com/api/rails-2.1.0/doc/index.html?a=M001932&name=select


gruß Malte

On Wed, 30 Jul 2008 07:40:27 +0200
"Rene P." <[EMAIL PROTECTED]> wrote:

> OK sorry - ja danke. Hat sich schon erledigt.
> Habs im controller gemacht ist dort wirklich besser aufgehoben.
> Danke
> 
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an