Sha256: 718f30565cff02070ec7639981f6befb3a9a040549d9542cb43f6d6e21a06370

Contents?: true

Size: 952 Bytes

Versions: 5

Compression:

Stored size: 952 Bytes

Contents

<% title _("Global Parameters") %>

<% title_actions display_link_if_authorized(_("New Parameter"), hash_for_new_common_parameter_path) %>

<table class="table table-bordered table-striped">
  <tr>
    <th><%= sort :name, :as => s_("Parameter|Name") %></th>
    <th style='min-width: 60%;'><%= sort :value, :as =>  s_("Parameter|Value")%></th>
    <th></th>
  </tr>
  <% for common_parameter in @common_parameters %>
    <tr>
      <td><%= link_to_if_authorized h(common_parameter), hash_for_edit_common_parameter_path(:id => common_parameter.id)%></td>
      <td style='overflow-wrap: break-word;'><%= trunc(common_parameter.value,80  ) %></td>
      <td class="ra">
        <%= display_delete_if_authorized hash_for_common_parameter_path(:id => common_parameter), :confirm => _("Delete %s?") % common_parameter.name %>
      </td>
    </tr>
  <% end %>
</table>
<%= page_entries_info @common_parameters %>
<%= will_paginate     @common_parameters %>

Version data entries

5 entries across 5 versions & 1 rubygems

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