Project

General

Profile

« Previous | Next » 

Revision bf4a13d3

Added by Walden Raines over 10 years ago

Fixes #3811 updating to bootstrap 3

View differences:

app/views/media/_form.html.erb
<div class="tab-content">
<div class="tab-pane active" id="primary">
<%= 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).
<%= text_f f, :path, :size => "col-md-8", :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.centos.org/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 => "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.") %>
<%= text_f f, :media_path, :size => "col-md-8", :help_inline => _("The NFS path to the media.") %>
<%= text_f f, :config_path, :size => "col-md-8", :help_inline => _("The NFS path to the jumpstart control files.") %>
<%= text_f f, :image_path, :size => "col-md-8", :help_inline => _("The NFS path to the image directory.") %>
</span>
<%= select_f f, :os_family, Operatingsystem.families_as_collection, :value, :name, { :include_blank => _("Operating System Family"), :label => _("OS Family"), :help_inline => _("The Operating System type") } %>
</div>

Also available in: Unified diff