Match <%= select_tag(:wf_match, options_for_select(@wf_filter.match_options, @wf_filter.match), {:onChange=>"wfFilter.markDirty()"}) %>
of the following conditions:
<% if @wf_filter.errors[:filter] %>
<%= @wf_filter.errors[:filter] %>
<% end %>
<% if @wf_filter.size == 0 %>
You haven't added any filter conditions, so all of the results were returned.
Use the "Add" button in the bottom left corner to add a new condition or select
a predefined filter from a drop-down list above.
<% else %>
<%
0.upto(@wf_filter.size-1) do |index|
condition = @wf_filter.condition_at(index)
%>
<%= render :partial => "/wf/filter/condition", :locals => {:condition => condition, :index => index}%>
<% end %>
<% end %>
<%= hidden_field_tag(:wf_id, @wf_filter.id) %>
<%= hidden_field_tag(:wf_type, @wf_filter.class.name) %>
<%= hidden_field_tag(:wf_dirty, "false") %>
<%= hidden_field_tag(:wf_name, @wf_filter.name) %>
<%= hidden_field_tag(:wf_model, @wf_filter.model_class_name) %>
<%= hidden_field_tag(:wf_identity_type, @wf_filter.identity_type) %>
<%= hidden_field_tag(:wf_identity_id, @wf_filter.identity_id) %>