Sha256: 739edac9da82ca6fe31be651f01f39c5371ffb5474099147e27de82e07b0de4b

Contents?: true

Size: 891 Bytes

Versions: 4

Compression:

Stored size: 891 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 "Description", 
                        "<%=rule_name%>_description", 
                        params[:<%=rule_name%>_description] || @re_rule.rule.description,
                        :size => 40, 
                        :required => false, 
												:error => @re_rule.rule.errors[:<%=rule_name%>_description],
                        :span => '4x13' %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rules_engine-0.3.3 generators/manifests/templates/app/views/re_rules/simple/_form.html.erb
rules_engine-0.3.2 generators/manifests/templates/app/views/re_rules/simple/_form.html.erb
rules_engine-0.3.1 generators/manifests/templates/app/views/re_rules/simple/_form.html.erb
rules_engine-0.3.0 generators/manifests/templates/app/views/re_rules/simple/_form.html.erb