% re_plan_status = re_plan_status(@re_plan) %>
<% re_plan_error = @re_plan.plan_error %>
<%=h @re_plan.title %>
(<%=h @re_plan.code%>)
<%=h @re_plan.description%>
<% if re_plan_error.blank? %>
<%= re_plan_status.titleize %> <%= re_plan_version(@re_plan) %>
<% else %>
<%= re_plan_error %> <%= re_plan_version(@re_plan) %>
<% end %>
<% re_form_for(@re_plan, :url => publish_re_plan_path(@re_plan), :html => {:method => :put, :id => "re_plan_publish_form"}) do |f| %>
<%= hidden_field_tag(:tag) %>
<% end %>
<% re_form_for(@re_plan, :url => revert_re_plan_path(@re_plan), :html => {:method => :put, :id => "re_plan_revert_form"}) do |f| %>
<% end %>
<% re_form_for(@re_plan, :url => re_plan_path(@re_plan), :html => {:method => :delete, :id => "re_plan_delete_form"}) do |f| %>
<% end %>