Sha256: e385d139608de2fbac293a6367c0361e71145d2675219d93a08faff5422120ae

Contents?: true

Size: 940 Bytes

Versions: 5

Compression:

Stored size: 940 Bytes

Contents

<% plan_status = @re_plan.plan_status %>

<% if plan_status == RePlan::PLAN_STATUS_DRAFT && !@re_plan.plan_error %>
  <h4>
    <%= link_to("Publish Plan", "##{@re_plan.id}", :id => "re_plan_publish", :class => "re-menu-plan-publish") %>
  </h4>    
	<div class="clear top-5"></div>
<% end %>  
<% if plan_status == RePlan::PLAN_STATUS_CHANGED && !@re_plan.plan_error %>
  <h4>
    <%= link_to("Publish Changes", "##{@re_plan.id}", :id => "re_plan_publish", :class => "re-menu-plan-publish") %>
  </h4>    
	<div class="clear top-5"></div>
<% end %>  

<% if plan_status == RePlan::PLAN_STATUS_CHANGED %>
  <h4>
    <%= link_to("Discard Changes", "##{@re_plan.id}", :id => "re_plan_revert", :class => "re-menu-plan-revert") %>
  </h4>    
	<div class="clear top-5"></div>
<% end %>  

<h4>
  <%= link_to("Delete Plan", "##{@re_plan.id}", :id => "re_plan_delete", :class => "re-menu-plan-delete") %>
</h4>    
<div class="clear top-5"></div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rules_engine-0.1.7 rails_generators/templates/app/views/re_plans/_menu.html.erb
rules_engine-0.1.6 rails_generators/templates/app/views/re_plans/_menu.html.erb
rules_engine-0.1.5 rails_generators/templates/app/views/re_plans/_menu.html.erb
rules_engine-0.1.4 rails_generators/templates/app/views/re_plans/_menu.html.erb
rules_engine-0.1.3 rails_generators/templates/app/views/re_plans/_menu.html.erb