Sha256: 7aa5ae468d5d5844b7283ef78aa2b2ba467a676dace48c89e9b6c82ad70298dc

Contents?: true

Size: 1.27 KB

Versions: 3

Compression:

Stored size: 1.27 KB

Contents

<% if wf_filter.errors[index] %>
  <tr>
    <td colspan="2">
    </td> 
    <td>
      <div class="wf_condition_error">
        <%= wf_filter.errors[index] %>  
      </div>
    </td>
    <td>
    </td>
  </tr> 
<% end %>

<tr>
  <td class="wf_condition" style="padding:2px;">
    <%= select_tag "wf_c#{index}", options_for_select(wf_filter.condition_options, condition.key.to_s), {:class=>"wf_input", :style=>"width:100%;", :onChange=>"wfFilter.updateConditionAt('#{index}')"} %>
  </td>
  <td class="wf_operator" style="padding:2px;">
    <%= select_tag "wf_o#{index}", options_for_select(wf_filter.operator_options_for(condition.key), condition.operator.to_s), {:class=>"wf_input", :style=>"width:100%;", :onChange=>"wfFilter.updateConditionAt('#{index}')"} %>
  </td>
  <td class="wf_values" style="padding:2px;">
	  <%= render :partial => "/wf/filter/containers/#{condition.container.template_name}", :locals => {:container => condition.container, :index => index} %>
  </td>
  <td class="wf_condition_actions" style="padding:0px;">
    <%=link_to_function("<span>-</span>", "wfFilter.removeConditionAt('#{index}')", :class => "wf_grey_button wf_pcb") %>
    <%=link_to_function("<span>+</span>", "wfFilter.addConditionAfter('#{index}')", :class => "wf_grey_button wf_pcb") %>
  </td>
</tr>
      

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
will_filter-3.1.3 app/views/will_filter/filter/.tmp__condition.html.erb.68032~
will_filter-3.1.2 app/views/will_filter/filter/.tmp__condition.html.erb.68032~
will_filter-3.1.1 app/views/will_filter/filter/.tmp__condition.html.erb.68032~