Sha256: 955b6d2af82bd8cce2bb335cbf85919d29c64be5a445b0143d48e16852df698d

Contents?: true

Size: 724 Bytes

Versions: 4

Compression:

Stored size: 724 Bytes

Contents

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

<div id="<%=rule_name%>_<%%=id%>">
  <%%= re_text_field "Words to filter", "<%=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

4 entries across 4 versions & 1 rubygems

Version Path
rules_engine_templates-0.0.5 rails_generators/templates/app/views/re_rule_definitions/tweet_filter/_form_word.html.erb
rules_engine_templates-0.0.4 rails_generators/templates/app/views/re_rule_definitions/tweet_filter/_form_word.html.erb
rules_engine_templates-0.0.3 rails_generators/templates/app/views/re_rule_definitions/tweet_filter/_form_word.html.erb
rules_engine_templates-0.0.2 rails_generators/templates/app/views/re_rule_definitions/tweet_filter/_word.html.erb