Sha256: bfef395321fcd83b08c247c02e2f1d1d31fd2dd2ad74a05068fa2eb0496feb98

Contents?: true

Size: 736 Bytes

Versions: 3

Compression:

Stored size: 736 Bytes

Contents

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

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

Version data entries

3 entries across 2 versions & 1 rubygems

Version Path
rules_engine_templates-0.3.0 generators/manifests/templates/app/views/re_rules/tweet_filter/_form_word.html.erb
rules_engine_templates-0.3.0 generators/manifests/templates/app/views/re_rules/tweet_word_filter/_form_word.html.erb
rules_engine_templates-0.0.6 rails_generators/templates/app/views/re_rules/tweet_filter/_form_word.html.erb