Sha256: 201045eac7c759ba58b79d8016a57df09af6b41f27811a753fb58cdf659582a0

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

<% re_plan_status = re_plan_status(@re_plan) %>
<% re_plan_error = @re_plan.plan_error %>

<div class="re-infobox">
  <div class="span-10">
    <h4 class="re-sts-plan-<%= re_plan_error.blank? ? re_plan_status : 'verify' %>">
			<%=h @re_plan.title %>
			<span class="re-code blue">(<%=h @re_plan.code%>)</span>
		</h4>
  </div>  
  <div class="span-5 last">
  </div>  
  <div class="clear top-5"></div>
	<hr/>

  <div class="span-10 prepend-1">
		<p><%=h @re_plan.description%></p>
  </div>  
	<div class="span-4 last">
    <% if re_plan_error.blank? %>
			<em class="float-right top-2 re-sts-plan-<%= re_plan_status %>"><%= re_plan_status.titleize %>  <%= re_plan_version(@re_plan) %></em>
    <% else %>
      <em class="float-right top-2 re-sts-plan-verify"><%= re_plan_error %> <%= re_plan_version(@re_plan) %></em>
    <% end %>
	</div>
  <div class="clear"></div>
</div>  

<div style="display:none">
  <%= 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 %>  
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rules_engine-0.3.3 app/views/re_plans/_change.html.erb