Sha256: 2cf8619381f8fbf160fc9415a946b74709ede635016d359a0727a9fafed45952
Contents?: true
Size: 1.17 KB
Versions: 3
Compression:
Stored size: 1.17 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;"> <%= condition.container.render_html(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