According to the documentation for #text_field, this:

<%= text_field :name => :title, :label => "Title" %>

 should generate

<label for="title">Title</label><input type="text" id="title" name="title">

However, what I'm seeing is this:

<p><%= text_field :name => :title, :label => "Title" %></p>
<p><%= text_field :name => :short_title, :label => "Short title" %></p>
<p><%= text_field :name => :file_prefix, :label => "File prefix" %></p>
<p><%= text_field :name => :keywords, :label => "Keywords" %></p>
<p><%= text_area :name => :on_release, :rows => 5, :label => "Scripts to
run on release" %></p>
<p><%= select :name => :universe_id, :label => "Universe", :collection
=> @authinfo[:user].universes, :text_method => :name, :value_method =>
:id %>
<p><%= text_area :name => :description, :label => "Description" %></p>
<%= hidden_field :name => :flag %>
 
yields:
 
<p><label>Title</label><input type="text" class="text" name="title"></p>
<p><label>Short title</label><input type="text" class="text" 
name="short_title"></p>
<p><label>File prefix</label><input type="text" class="text" 
name="file_prefix"></p>
<p><label>Keywords</label><input type="text" class="text" name="keywords"></p>
<p><textarea label="Scripts to run on release" rows="5" 
name="on_release"></textarea></p>
<p><label>Universe</label><select name="universe_id"></select></p>
<p><textarea label="Description" name="description"></textarea></p>
<input type="hidden" class="hidden" name="flag">

Anyone know why?

Shalon Wood

-- 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to