ref: master
plugins/vote/views/vote_plugin_admin/index.html.erb
<%= _('Vote settings')%>
<%= form_for(:settings) do |f| %> <% ['article', 'comment'].each do |model| %><%= _('Enable on %s:' % model) %>
<%= f.check_box("enable_vote_#{model}", {:multiple => true}, 1) + _('Like') %> <%= f.check_box("enable_vote_#{model}", {:multiple => true}, -1) + _('Dislike') %> <% end %>
<%= labelled_form_field _('Limit of voters to display:'), f.text_field(:voters_limit, :size => 3) %> <%= button_bar do %> <%= submit_button(:save, c_('Save'), :cancel => {:controller => 'plugins', :action => 'index'}) %> <% end %> <% end %>