Sha256: 44314a12c46bbe5245a48483590e13e6ab3d26a5d3eeb2f7d9d36e63552b62f2

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

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

<tr>
  <td class="wf_condition">
    <%= 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">
    <%= 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">
    <%= condition.container.render_html(index) %>
  </td>
  <td class="mf_condition_actions">
    <%=link_to_function("<span>-</span>", "wfFilter.removeConditionAt('#{index}')", :class => "grey-button pcb") %>
    <%=link_to_function("<span>+</span>", "wfFilter.addConditionAfter('#{index}')", :class => "grey-button 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.49252~
will_filter-3.1.2 app/views/will_filter/filter/.tmp__condition.html.erb.49252~
will_filter-3.1.1 app/views/will_filter/filter/.tmp__condition.html.erb.49252~