Sha256: bc53d19f83d29ffc9f7bd116c9a14582348942b7c9b5d4b583a2db6a88fe9e03

Contents?: true

Size: 1.04 KB

Versions: 12

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_container">
    <%= 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

12 entries across 3 versions & 1 rubygems

Version Path
will_filter-3.1.3 app/views/will_filter/filter/.tmp__condition.html.erb.98638~
will_filter-3.1.3 app/views/will_filter/filter/.tmp__condition.html.erb.73740~
will_filter-3.1.3 app/views/will_filter/filter/.tmp__condition.html.erb.45362~
will_filter-3.1.3 app/views/will_filter/filter/.tmp__condition.html.erb.66557~
will_filter-3.1.2 app/views/will_filter/filter/.tmp__condition.html.erb.73740~
will_filter-3.1.2 app/views/will_filter/filter/.tmp__condition.html.erb.45362~
will_filter-3.1.2 app/views/will_filter/filter/.tmp__condition.html.erb.66557~
will_filter-3.1.2 app/views/will_filter/filter/.tmp__condition.html.erb.98638~
will_filter-3.1.1 app/views/will_filter/filter/.tmp__condition.html.erb.45362~
will_filter-3.1.1 app/views/will_filter/filter/.tmp__condition.html.erb.98638~
will_filter-3.1.1 app/views/will_filter/filter/.tmp__condition.html.erb.73740~
will_filter-3.1.1 app/views/will_filter/filter/.tmp__condition.html.erb.66557~