changeset 748:287c27cb8bd2 feature_14

added tag filtering partial, but still needs work done.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Nov 2011 15:05:22 +0000
parents ae4054db4f3c
children 3f28aebc5fc1
files vendor/plugins/redmine_tags/app/views/projects/_filter_tags.rhtml
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/plugins/redmine_tags/app/views/projects/_filter_tags.rhtml	Tue Nov 08 15:05:22 2011 +0000
@@ -0,0 +1,12 @@
+<p class='tag'>
+  <%= label_tag 'Tag' %>
+  <%= select_tag("tag[#{tag.id}]", 
+        options_from_collection_for_select(
+          [nil] + Project.available_tags, 
+          'to_s', 
+          'to_s',
+          @custom_fields[custom_field.id.to_s]
+        )
+      )
+  %>
+</p>