Sha256: f77fad7d4ab7ff4fa19854feaf704ac46edfffbdce5c99cd90bd4e5d7182fce2
Contents?: true
Size: 1.3 KB
Versions: 6
Compression:
Stored size: 1.3 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 => "/will_filter/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>".html_safe, "wfFilter.removeConditionAt('#{index}')", :class => "wf_grey_button wf_pcb") %> <%=link_to_function("<span>+</span>".html_safe, "wfFilter.addConditionAfter('#{index}')", :class => "wf_grey_button wf_pcb") %> </td> </tr>
Version data entries
6 entries across 6 versions & 1 rubygems