fieldset.settings legend = l :label_general p = additionals_settings_select :tags_sidebar, options_for_select(%w[none list cloud simple_cloud].collect { |v| [l("tags_sidebar_#{v}"), v] }, @settings[:tags_sidebar]) p = additionals_settings_checkbox :show_with_count p = additionals_settings_select :tags_sort_by, options_for_select(%w[name count].collect { |v| [l("tags_sort_by_#{v}"), v] }, @settings[:tags_sort_by]) ' = select_tag 'settings[tags_sort_order]', options_for_select(values_for_sort_direction, @settings[:tags_sort_order]) p = additionals_settings_select :tags_suggestion_order, options_for_select(%w[name last_created count].collect { |v| [l("tags_order_by_#{v}"), v] }, @settings['tags_suggestion_order']) p = additionals_settings_select :tags_color_theme, options_for_select([[l(:label_tags_without_color), '0'], [l(:label_tag_color_theme, value: 1), '1'], [l(:label_tag_color_theme, value: 2), 'a'], [l(:label_tag_color_theme, value: 3), 'b'], [l(:label_tag_color_theme, value: 4), 'c'], [l(:label_tag_color_theme, value: 5), 'd']], @settings['tags_color_theme']) p = additionals_settings_checkbox :show_tags_after_queries fieldset.settings legend = l :label_issue_plural p = additionals_settings_checkbox :active_issue_tags p = additionals_settings_checkbox :open_issues_only fieldset.settings legend = l :label_wiki p = additionals_settings_checkbox :active_wiki_tags