<%= _('Manage plugins') %>
<%= _('Here you can enable or disable any plugin of your environment.')%>
<% labelled_form_for(:environment, @environment, :url => {:action => 'update'}) do |f| %>
<%= _('Plugin') %> |
<%= _('Description') %> |
<%= _('Enabled?') %> |
<%= hidden_field_tag('environment[enabled_plugins][]', '') %>
<% @active_plugins.each do |plugin| %>
<%= 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 %> |
<% end %>
<% button_bar do %>
<%= submit_button('save', _('Save changes')) %>
<%= button :back, _('Back to admin panel'), :controller => 'admin_panel', :action => 'index' %>
<% end %>
<% end %>