Sha256: 941ddba84c79c402cd5f44d8ee26abd766aca99fa97404d7cf81bbac2dd7ae93

Contents?: true

Size: 950 Bytes

Versions: 5

Compression:

Stored size: 950 Bytes

Contents

<table class="table table-condensed" id="inherited_parameters">
  <thead>
  <tr>
    <th class='span3'><%= _("Scope") %></th>
    <th class='span2'><%= _("Name") %></th>
    <th class='span7'><%= _("Value") %></th>
    <th><%= _('Actions') -%></th>
  </tr>
  </thead>
  <tbody>
  <% inherited_parameters.each do |name,value| -%>
      <tr>
        <%= "<td class='span2' rowspan='#{inherited_parameters.size}'>#{_('Global')}</td>".html_safe if name == inherited_parameters.first[0]%>
        <td class='span2'><%= content_tag :span, name, :id=>"name_#{name}", :class => "span2" %></td>
        <td class='span6'><%= parameter_value_field value%></td>
        <td>
        <%= link_to_function(_("override"), "override_param(this)", :title => _("Override this value"),
                             :'data-tag' => 'override', :class =>"btn" ) if authorized_via_my_scope("host_editing", "create_params") %>
      </tr>
  <% end -%>
  </tbody>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/common_parameters/_inherited_parameters.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/common_parameters/_inherited_parameters.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/common_parameters/_inherited_parameters.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/common_parameters/_inherited_parameters.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/common_parameters/_inherited_parameters.erb