Sha256: 0cdfa24e9fec47073937cfa548c2fac6e2a260a556104c84d1531e0be7b1f4e4
Contents?: true
Size: 651 Bytes
Versions: 2
Compression:
Stored size: 651 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 match', '<%=rule_name%>') %>
Version data entries
2 entries across 2 versions & 1 rubygems