Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/media/_form.html.erb | ||
---|---|---|
<%= form_for @medium do |f| %>
|
||
<%= base_errors_for @medium %>
|
||
<%= text_f f, :name %>
|
||
<%= text_f f, :path, :class => "xxlarge", :help_block => "The path to the medium, can be a URL or a valid NFS server (exclusive of the architecture).
|
||
<%= 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 <em>http://mirror.averse.net/centos/$version/os/$arch</em> where <strong>$arch</strong> will be substituted for the host's actual OS architecture and <strong>$version</strong>, <strong>$major</strong> and <strong>$minor</strong> will be substituted for the version of the operating system. Solaris and Debian media may also use <strong>$release</strong>.".html_safe %>
|
||
<span id="nfs-section" <%= display?(!@medium.operatingsystems.map(&:require_nfs_access_to_medium).any?) %>>
|
||
<%= text_f f, :media_path, :class => "xxlarge", :help_inline => "The NFS path to the media." %>
|
||
<%= text_f f, :config_path, :class => "xxlarge", :help_inline => "The NFS path to the jumpstart control files." %>
|
||
<%= text_f f, :image_path, :class => "xxlarge", :help_inline => "The NFS path to the image directory." %>
|
||
<%= 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." %>
|
||
</span>
|
||
<%= multiple_checkboxes f, :operatingsystems, @medium, Operatingsystem, :label => 'Operating Systems' %>
|
||
|
Also available in: Unified diff
updates UI to bootstrap v2