1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<% form_for :bspservicerequest, :url => {:controller => "bspservicerequests", :action => "create" } do |f| %>
    
<%= 'Process Architecture' %>
<%= select_tag :processarc, '<option>PPC</option>option>ARM</option><option>X86</option>' %>
<%= observe_field 'processarc',
  :frequency => 0.1,
  :update => 'to_be_updated',
  :url => {:action => 'observe_my_select'},
  :with => 'processarc' %>     
<%= 'Board' %></td> 
<div id='to_be_updated'></div> 

<%= 'Operating System' %> 
  <%= f.select :os, Service.find(:all, :conditions => ["group_id =?", 3]).collect {|p| [ p.service_name] }%>  

<% end %>