<%= _('Manage plugins') %>

<%= _('Here you can enable or disable any plugin of your environment.')%> <% labelled_form_for(:environment, @environment, :url => {:action => 'update'}) do |f| %> <%= hidden_field_tag('environment[enabled_plugins][]', '') %> <% @active_plugins.each do |plugin| %> <% end %>
<%= _('Plugin') %> <%= _('Description') %> <%= _('Enabled?') %>
<%= plugin.has_admin_url? ? link_to(plugin.plugin_name, plugin.admin_url) : plugin.plugin_name %> <%= plugin.plugin_description %> <%= check_box_tag "environment[enabled_plugins][]", plugin, @environment.enabled_plugins.include?(plugin.to_s), :id => plugin.plugin_name %>
<% button_bar do %> <%= submit_button('save', _('Save changes')) %> <%= button :back, _('Back to admin panel'), :controller => 'admin_panel', :action => 'index' %> <% end %>
<% end %>