Displaying 1 result from an estimated 1 matches for "load_dur".
Did you mean:
load_dll
2010 Oct 06
7
Passing a hash from the model to the view
I''m trying to display a drop-down menu by using an instance variable
from a model.
THIS WORKS...
<div class="field">
<%= f.label :duration %><br />
<%= f.select ("duration", {"30 minutes" => "30", "1 hour" => "60"},
:prompt => "Select") %>
</div>
THIS DOESN''T