<%= javascript_include_tag 'jquery-1.4.2.min.js', :plugin => 'redmine_backlogs' %>

<%= content_tag(:label, l(:backlogs_story_tracker)) %> <%= select_tag("settings[story_trackers]", options_from_collection_for_select(Tracker.all, :id, :name, Story.trackers), :multiple => true) %>

<%= content_tag(:label, l(:backlogs_task_tracker)) %> <%= select_tag("settings[task_tracker]", options_from_collection_for_select(Tracker.all, :id, :name, Task.tracker)) %>

<%= content_tag(:label, l(:backlogs_points_burn_direction)) %> <%= select_tag("settings[points_burn_direction]", options_for_select([ [l(:label_points_burn_up), 'up'], [l(:label_points_burn_down), 'down'] ], Setting.plugin_redmine_backlogs[:points_burn_direction])) %>

<%= content_tag(:label, l(:backlogs_card_specification)) %> <%= select_tag("settings[card_spec]", options_for_select(TaskboardCards::LABELS.keys.sort.collect{|label| [label, label]}, Setting.plugin_redmine_backlogs[:card_spec])) %>

<%= content_tag(:label, l(:backlogs_wiki_template)) %> <%= text_field_tag("settings[wiki_template]", Setting.plugin_redmine_backlogs[:wiki_template]) %>