Sha256: c9ac66cbc1539ca9e2ad096c67f5dc59971e0fe0034cea43662a6c789a9ee68c
Contents?: true
Size: 1.13 KB
Versions: 6
Compression:
Stored size: 1.13 KB
Contents
<% title _('Application Definitions') %> <% title_actions button_group(new_link(_('New Application Definition'))) %> <table class="table table-bordered table-striped"> <tr> <th><%= sort :name, :as => s_('AppDefinition|Name') %></th> <th><%= _('Description') %></th> <th><%= sort :hostgroup, :as => _('Host groups'), :default => 'DESC' %></th> <th></th> </tr> <% for app_definition in @app_definitions %> <tr> <td><%=link_to_if_authorized h(app_definition.name), hash_for_edit_app_definition_path(:id => app_definition).merge(:auth_object => app_definition, :authorizer => authorizer) %></td> <td><%= app_definition.description %></td> <td><%= app_definition.hostgroup %></td> <td> <%= action_buttons(display_delete_if_authorized(hash_for_app_definition_path(:id => app_definition).merge(:auth_object => app_definition, :authorizer => authorizer), :data => { 'confirm': _('Delete %s?') % app_definition.name })) %> </td> </tr> <% end %> </table> <%= page_entries_info @app_definitions %> <%= will_paginate @app_definitions %>
Version data entries
6 entries across 6 versions & 1 rubygems