Sha256: 5815507635337b82def2d702d69174797b3f9b740c3e7a5885069367ee39d012

Contents?: true

Size: 723 Bytes

Versions: 13

Compression:

Stored size: 723 Bytes

Contents

<%% id = local_assigns[:position] ? position : 'NEW_RECORD'  %>

<div id="<%=rule_name%>_<%%=id%>">
  <%%= re_text_field "Words to match", "<%=rule_name%>_words[#{id}][word]",  
                                            local_assigns[:word] ? word : '',
                                            :size => 25, 
                                            :required => id == 0, 
                                            :span => '4x13', 
																						:error => id == 0 ? @re_rule.rule.errors[:<%=rule_name%>_words] : nil,
                                            :hint => re_remove_link("Remove", "<%=rule_name%>[#{id}]", id) %>
        
  <%%= re_remove_field("<%=rule_name%>[#{id}]", id) %>      
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rules_engine-0.1.7 rails_generators/templates/app/views/re_rule_definitions/complex/_form_word.html.erb
rules_engine-0.1.6 rails_generators/templates/app/views/re_rule_definitions/complex/_form_word.html.erb
rules_engine-0.1.5 rails_generators/templates/app/views/re_rule_definitions/complex/_form_word.html.erb
rules_engine-0.1.4 rails_generators/templates/app/views/re_rule_definitions/complex/_word.html.erb
rules_engine-0.1.3 rails_generators/templates/app/views/re_rule_definitions/rule_complex/_word.html.erb
rules_engine-0.1.1 rails_generators/templates/app/views/re_rule_definitions/complex_rule/_word.html.erb
rules_engine-0.1.0 rails_generators/templates/app/views/re_rule_definitions/complex_rule/_word.html.erb
rules_engine-0.0.8 rails_generators/templates/app/views/re_rule_definitions/complex_rule/_word.html.erb
rules_engine-0.0.7 rails_generators/templates/app/views/re_rule_definitions/complex_rule/_word.html.erb
rules_engine-0.0.6 rails_generators/templates/app/views/re_rule_definitions/complex_rule/_word.html.erb
rules_engine-0.0.5 rails_generators/templates/app/views/re_rule_definitions/complex_rule/_word.html.erb
rules_engine-0.0.4 rails_generators/templates/app/views/re_rule_definitions/complex_rule/_word.html.erb
rules_engine-0.0.3 rails_generators/templates/app/views/re_rule_definitions/complex_rule/_word.html.erb