<% title _('Application Definitions') %> <% title_actions button_group( new_link(_('New Application Definition')), display_link_if_authorized(_("Import"), hash_for_import_app_definitions_path, :class => 'btn btn-default') ) %> <% for app_definition in @app_definitions %> <% end %>
<%= sort :name, :as => s_('AppDefinition|Name') %> <%= _('Description') %>
<%=link_to_if_authorized h(app_definition.name), hash_for_edit_app_definition_path(:id => app_definition).merge(:auth_object => app_definition, :authorizer => authorizer) %> <%= app_definition.description %> <%= 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 }), display_link_if_authorized(_("Export"), hash_for_export_app_definition_path(:id => app_definition).merge(:auth_object => app_definition, :authorizer => authorizer)) ) %>
<%= page_entries_info @app_definitions %> <%= will_paginate @app_definitions %>