Sha256: 565253dd3ba9b4abf6e8db431596ec854b8b67798de323975f9d2f006d14f2ed

Contents?: true

Size: 1.16 KB

Versions: 13

Compression:

Stored size: 1.16 KB

Contents

$.fancybox.close();
$.re_unblock();

<%= re_alert_js %>

$('#re_plan_change').html('<%=escape_javascript(render('/re_plans/show'))%>');

$('#re_workflow_change').html('<%=escape_javascript(render('/re_workflows/show'))%>');

$('#re_rule_change').html('<%=escape_javascript(render('/re_workflows/rule_empty', :hide => !@re_workflow.re_rules.empty?))%>');
<% @re_workflow.re_rules.each do |re_rule | %>
  $('#re_rule_change').append('<%=escape_javascript(render('/re_workflows/rule_change', :re_rule => re_rule, 
																																													:re_plan_id => @re_plan.id,
																																													:delete_path => re_plan_workflow_rule_path(@re_plan, @re_workflow, re_rule),
																																													:move_up_path => move_up_re_plan_workflow_rule_path(@re_plan, @re_workflow, re_rule),
																																													:move_down_path => move_down_re_plan_workflow_rule_path(@re_plan, @re_workflow, re_rule),
																																													:first_rule => re_rule == @re_workflow.re_rules[0], 
																																													:last_rule => re_rule == @re_workflow.re_rules[-1]))%>');
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rules_engine-0.3.3 app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.3.2 app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.3.1 app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.3.0 app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.2.0 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.1.10 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.1.9 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.1.8 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.1.7 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.1.6 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.1.5 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.1.4 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
rules_engine-0.1.3 rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb