Sha256: 5490fbe3137083ed62dc067478498b431a1ae4efc2c961be414e2657d2ad602a

Contents?: true

Size: 790 Bytes

Versions: 2

Compression:

Stored size: 790 Bytes

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 || @re_rule.rule.options[:display_name],
                        :size => 30, 
                        :required => true, 
												:error => @re_rule.rule.errors[:<%=rule_name%>_title],
                        :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

2 entries across 2 versions & 1 rubygems

Version Path
rules_engine_templates-0.0.5 rails_generators/templates/app/views/re_rule_definitions/plan_start/_form.html.erb
rules_engine_templates-0.0.4 rails_generators/templates/app/views/re_rule_definitions/plan_start/_form.html.erb