<div class="fields">
  <%= select_f f, :hostgroup_id, Hostgroup.all, :id, :to_label, {:include_blank => true}, :label => _("Hostgroup") %>
  <%= select_f f, :environment_id, Environment.all, :id, :name, {:include_blank => true},
    :label => _("Environment"), :help_inline => link_to_remove_fields('', f) %>
</div>
