Sha256: 032d851b58678749557219ae8d75891afd55c65a2969b79387a86d1bdd9902bb

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

<%% javascript_tag do %>
  
  $(document).ready(function() {	
    $('#<%=rule_name%>_title').focus();	
  });

<%% end %>

<%%= re_text_field "Title", 
                        "<%=rule_name%>_title", 
                        params[:<%=rule_name%>_title] || @re_rule.rule.title,
                        :size => 30, 
                        :required => true, 
												:error => @re_rule.rule.errors[:<%=rule_name%>_title],
                        :span => '4x13' %>

<%%= re_text_field "Message", 
                        "<%=rule_name%>_message", 
                        params[:<%=rule_name%>_message] || @re_rule.rule.message,
                        :size => 60, 
                        :required => true, 
												:error => @re_rule.rule.errors[:<%=rule_name%>_message],
                        :span => '4x13' %>

<%%= re_text_field "Plan Code", "<%=rule_name%>_plan", @re_rule.rule.plan || params[:<%=rule_name%>_plan], 
																:size => 20, 
																:required => true, 
																:span => '4x13',
																:error => @re_rule.rule.errors[:<%=rule_name%>_plan] %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rules_engine_templates-0.0.3 rails_generators/templates/app/views/re_rule_definitions/tweet_reader/_form.html.erb