Sha256: 4cd7241d46bf249280206f4ccf764ea219976d8bccd3c89cfce5f8d1e3f2ae43

Contents?: true

Size: 850 Bytes

Versions: 2

Compression:

Stored size: 850 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,
                        :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

2 entries across 2 versions & 1 rubygems

Version Path
rules_engine-0.1.6 rails_generators/templates/app/views/re_rule_definitions/simple/_form.html.erb
rules_engine-0.1.5 rails_generators/templates/app/views/re_rule_definitions/simple/_form.html.erb