Sha256: 5f9120a11aeca59decd09fac08848aa90248896ed0cd029de172ebc19709cbd6
Contents?: true
Size: 1.14 KB
Versions: 7
Compression:
Stored size: 1.14 KB
Contents
<table class="table table-bordered table-striped"> <tr> <th>Name</th> <th>Content</th> <th>Profile</th> <th></th> </tr> <% for policy in @policies %> <tr> <td> <%= link_to policy.name, scaptimony_policy_dashboard_scaptimony_policy_path(:id => policy.id) %> </td> <td> <% if !policy.scap_content.nil? %> <%= link_to_if_authorized policy.scap_content.title, hash_for_edit_scaptimony_scap_content_path(:id => policy.scap_content) %> <% end %> </td> <td> <%= policy.scap_content_profile.nil? ? "Default" : policy.scap_content_profile.title %> </td> <td> <%= action_buttons( link_to_if_authorized(_("Show Guide"), hash_for_scaptimony_policy_path(:id => policy.id)), link_to_if_authorized(_("Edit"), hash_for_edit_scaptimony_policy_path(:id => policy.id)), display_delete_if_authorized(hash_for_scaptimony_policy_path(:id => policy.id), :confirm => _("Delete compliance policy %s with all the reports?") % policy.name) ) %> </td> </tr> <% end %> </table>
Version data entries
7 entries across 7 versions & 1 rubygems