<%= javascript "nfs_visibility" %> <%= form_for @medium do |f| %> <%= base_errors_for @medium %> <% if show_taxonomy_tabs? %> <% end%>
<%= text_f f, :name %> <%= text_f f, :path, :class => "input-xxlarge", :help_block => _("The path to the medium, can be a URL or a valid NFS server (exclusive of the architecture). for example http://mirror.averse.net/centos/$version/os/$arch where $arch will be substituted for the host's actual OS architecture and $version, $major and $minor will be substituted for the version of the operating system. Solaris and Debian media may also use $release.").html_safe %> > <%= text_f f, :media_path, :class => "input-xxlarge", :help_inline => _("The NFS path to the media.") %> <%= text_f f, :config_path, :class => "input-xxlarge", :help_inline => _("The NFS path to the jumpstart control files.") %> <%= text_f f, :image_path, :class => "input-xxlarge", :help_inline => _("The NFS path to the image directory.") %> <%= selectable_f f, :os_family, Operatingsystem.families, { :include_blank => true }, { :label => _("Operating System Family") } %>
<% if show_taxonomy_tabs? %> <% if show_location_tab? %>
<%= multiple_checkboxes f, :locations, @medium, Location, {:label => _("Locations")} %>
<% end %> <% if show_organization_tab? %>
<%= multiple_checkboxes f, :organizations, @medium, Organization, {:label => _("Organizations")} %>
<% end %> <% end %> <%= submit_or_cancel f %>
<% end %>