Sha256: ae5f17f84ad3cc1a3a449b2b6ecdd47f93cae8301d11a1f6657056b63b5dab86
Contents?: true
Size: 1.32 KB
Versions: 2
Compression:
Stored size: 1.32 KB
Contents
<%% set_re_breadcrumbs '<span class="re-bc-publication-show">Twitter Words</span>' %> <%% if rules_engine_editor? %> <%% javascript_tag do %> $(document).ready(function() { $('.<%=rule_name%>_ignore').live('click', function() { var word_id = $(this).attr('href').replace('#', ''); if (confirm("Remove Word : " + $.trim($('#<%=rule_name%>_title_' + word_id).html()))) { $('#<%=rule_name%>_word_id').attr('value', word_id); $('#<%=rule_name%>_form').submit(); } return false; }); }); <%% end %> <%% end %> <div class="hide"> <%% form_for(:<%=rule_name%>, :url => <%=rule_name%>_index_path, :html => {:method => :put, :id => "<%=rule_name%>_form"}) do |f| %> <%%= f.text_field(:word_id) %> <%% end %> </div> <div class="prepend-1 span-22 append-1"> <%% if @re_tweet_words.empty? %> <p class="red">No Tweet Words Stored</p> <%% end %> <%% @re_tweet_words.each do |re_tweet_word| %> <p class="span-1"> <%%=h re_tweet_word.word_count %> </p> <p class="span-19" id="<%=rule_name%>_title_<%%= re_tweet_word.word.id %>"> <%%=h re_tweet_word.word.word %> </p> <p class="span-1 last smalltext"> <%% if rules_engine_editor? %> <%%= link_to("ignore", "##{re_tweet_word.word.id}", :class => "red <%=rule_name%>_ignore") %> <%% end %> </p> <hr/> <%% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems