Sha256: 37f05ce84b244cee965b3ec2dca67d7c632eab9cc11b9f545e65d9e087a78d90
Contents?: true
Size: 652 Bytes
Versions: 1
Compression:
Stored size: 652 Bytes
Contents
<%% position = 0 %> <%% (@re_rule.rule.words || []).each do | word | %> <%% f.fields_for :rule_data, {:first => false} do |frd| %> <%%= render '/re_rule_definitions/<%=rule_name%>/word', :f => frd, :position => position, :word => word %> <%% position += 1 %> <%% end %> <%% end %> <%% if position == 0 %> <%% f.fields_for :rule_data, {:first => false} do |frd| %> <%%= render '/re_rule_definitions/<%=rule_name%>/word', :f => frd, :position => position %> <%% end %> <%% end %> <div id="new_position_<%=rule_name%>"></div> <%%= re_form_text "", re_add_link('Add another word to filter', '<%=rule_name%>') %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rules_engine_templates-0.0.2 | rails_generators/templates/app/views/re_rule_definitions/tweet_filter/_words.html.erb |