> <% form_for(:computer, :url => computer_networkadaptors_path
> (@computer)) do |f| %>
>   <p>
>               <%= f.text_field :networkadaptortype %>
>   </p>
>   <p>
>                <%=f.text_field :macaddress %>
>   </p>
>   <p>
>               <%= f.submit "Add a network adaptor" %>
>   </p>
> <% end %>
>

<form>
   <input:networkadaptortype/>
   <input:macaddress/>
   <submit label="Add a network adaptor/>
</form>

>  <p>
>       <%= f.label :category %><br />
>       <%= collection_select(:computer, :category_id, Category.find
> (:all, :order => "name"), :id, :name) %>
>  </p>
>

<input:category/>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to