<% set_re_javascript_include ['rules_engine/re_workflow_add', 'rules_engine/re_workflow_preview', 'rules_engine/re_plan_change'] %> <% set_re_breadcrumbs link_to("All Plans", re_plans_path, :class => "re-bc-plan-list"), link_to("View Plan", re_plan_path(@re_plan), :class => "re-bc-plan-show"), 'Edit Plan'.html_safe %>
Plans
<%= render '/re_plans/change' %>
Workflow
<%= render '/re_workflows/empty', :hide => !@re_plan.re_workflows.empty? %> <% @re_plan.re_workflows.each do |re_workflow | %> <%= render '/re_plans/workflow_change', :re_workflow => re_workflow %> <% end %>

<%= link_to("View Plan", re_plan_path(@re_plan), :class => "re-menu-plan-show") %>

<%= link_to("Copy Plan", "##{@re_plan.id}", :id => "re_plan_copy", :class => "re-menu-plan-copy") %>


<%= link_to("Edit Plan Details", "##{@re_plan.id}", :id => "re_plan_edit", :class => "re-menu-plan-edit") %>

<%= render '/re_plans/menu' %>

<%= render '/re_workflows/add_prepare', :re_plan_id => @re_plan.id %>
<%= re_whitebox do %>

Confirm :


<%= re_button_link_green('Action', "#", :id => "re_plan_action_ok") %> <%= re_button_link_orange('Cancel', "#", :id => "re_plan_action_cancel") %> <% end %>
<%= re_whitebox do %>

Confirm : Publish Plan


<%= re_text_field("Tag Published Plan", :re_plan_publish_tag, "", :error => 'ok', :required => true, :span => '4x9') %>
<%= re_button_link_green('Publish', "#", :id => "re_plan_publish_ok") %> <%= re_button_link_orange('Cancel', "#", :id => "re_plan_action_cancel") %> <% end %>
<%= re_whitebox do %>

Confirm : Remove Workflow


<%= re_button_link_green('Remove', "#", :id => "re_workflow_remove_ok") %> <%= re_button_link_orange('Cancel', "#", :id => "re_workflow_remove_cancel") %>
<% end %>