cirandas.net

ref: master

app/views/plugins/index.html.erb


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

<%= _('Select which plugins you want to enable in your environment') %>

<%= labelled_form_for(:environment, :url => {:action => 'update'}) do |f| %> <% @active_plugins.sort_by(&:plugin_name).each do |plugin| %> <% end %>
<%= check_box_tag "environment[enabled_plugins][]", plugin, @environment.enabled_plugins.include?(plugin.to_s), :id => plugin.plugin_name %> <%= hidden_field_tag('environment[enabled_plugins][]', '') %> <%= plugin.plugin_name %>
<%= plugin.plugin_description %> <% if plugin.has_admin_url? %>

<%= link_to(_('Configuration'), plugin.admin_url) %> <% end %>
<%= button_bar do %> <%= submit_button('save', _('Save changes')) %> <%= button :back, _('Back to admin panel'), :controller => 'admin_panel', :action => 'index' %> <% end %>
<% end %>