Sha256: fc2f8785339f17564fc795ac9f8e5218a27a98f4f0ac75cc2913e35869d2d8e4
Contents?: true
Size: 713 Bytes
Versions: 8
Compression:
Stored size: 713 Bytes
Contents
<%% position = 0 %> <%% (@re_rule.rule.words || []).each do | word | %> <%% f.fields_for :rule_data, {:first => false} do |frd| %> <%%= render :partial => '/re_rule_definitions/<%=rule_name%>_rule/word', :locals => { :f => frd, :position => position, :word => word} %> <%% position += 1 %> <%% end %> <%% end %> <%% if position == 0 %> <%% f.fields_for :rule_data, {:first => false} do |frd| %> <%%= render :partial => '/re_rule_definitions/<%=rule_name%>_rule/word', :locals => { :f => frd, :position => position} %> <%% end %> <%% end %> <div id="new_position_<%=rule_name%>"></div> <%%= re_form_text "", re_add_link('Add another word to match', '<%=rule_name%>') %>
Version data entries
8 entries across 8 versions & 1 rubygems