Sha256: 057b82703fa6982d03d50fae6d8bb954e5444c137016ecd1fd00106566c78c5c
Contents?: true
Size: 1.07 KB
Versions: 5
Compression:
Stored size: 1.07 KB
Contents
<%- i = 0 if i.blank? -%> <div style="border: 1px solid #f0f0f0;"> <table width="100%"> <col width="70" /><col width="*" /><col width="80" /> <tr> <td>Tag <%= i.to_i + 1 %>:</td> <td> <%= text_field(:page_objects, "#{key}-sources-tag#{i}", :class => 'form', :style => 'margin: 0; padding: 2px; border: 1px solid gray; width: 98%;') %> <div id="page_objects_<%= key %>-sources-tag<%= i %>_auto_complete" class="auto_complete" style="display: none;"></div> <script type="text/javascript"> window.addEventListener('DOMContentLoaded', (event) => { new Autocompleter.Local('page_objects_<%= key %>-sources-tag<%= i %>', 'page_objects_<%= key %>-sources-tag<%= i %>_auto_complete', taglist, { frequency: 0.1, minChars: 1 }); }); </script> </td> <td> <%= select(:page_objects, "#{key}-sources-tag#{i}-behavior", [ 'include', 'exclude', 'require' ], {}, :class => 'form', :style => 'margin: 0; padding: 1px; border: 1px solid gray; width: 100%;') %> </td> </tr> </table> </div>
Version data entries
5 entries across 5 versions & 1 rubygems