<%= fields_for item do |f| %>
  <%= select_f f, :operatingsystem_id, arch_oss, :id, :to_label,
    {:selected => item.operatingsystem_id, :include_blank => blank_or_inherit_f(f, :operatingsystem)},
    { :label => _("Operating system"),
      :disabled => arch_oss.empty? ? true : false,
      :help_inline => :indicator,
      :onchange => 'os_selected(this);', :'data-url' => method_path('os_selected'), :required => true}
  %>
<% end %>
