Sha256: cbd0c8b916e47211384a68757f8ef20bf160ea3b86a452b7def79c268fe890e3

Contents?: true

Size: 1.37 KB

Versions: 4

Compression:

Stored size: 1.37 KB

Contents

<% re_workflow_error = re_workflow.workflow_error %>
<% default_workflow = re_workflow == re_plan.default_workflow %>
<% last_workflow = re_workflow == re_plan.re_workflows[-1]  %>

<div class="<%= re_workflow_error.blank? ? 're-bluebox' : 're-redbox' %>">
	<div class="clear top-2"></div>    
 	<h4 class="float-left re-sts-workflow-<%= re_workflow_error.blank? ? 'valid' : 'verify' %>">
		<%=h re_workflow.title %>
		<span class="re-code blue">(<%=h re_workflow.code%>)</span>
	</h4>
	<div class="float-right">
		<!-- NO ACTIONS ON THE RULE	 -->
		<div class="float-right re-list-workflow-is-default<%= default_workflow ? '' : '-off' %>"><span>Default</span></div>
			<%= link_to("<span>Show</span>".html_safe, re_plan_workflow_path(re_plan, re_workflow), :class => "re-list-workflow-show") %>
  		</div>
  	<div class="clear top-2"></div>    
	<hr/>
	<a href="#<%= re_workflow.id %>" class="re-xtra-workflow-preview float-left">
		<div class="re-xtra-workflow-preview"></div>
	</a>	
	<p class="float-left left-5">
		<%=h re_workflow.description %>&nbsp;
	</p>
	<em class="float-right top-2 right-5 re-sts-workflow-<%= re_workflow_error.blank? ? 'valid' : 'verify' %>"><%= re_workflow_error.blank? ? 'Valid' : re_workflow_error %></em>
  <div class="clear"></div>    	
</div>          

<% unless last_workflow %>
  <div class="clear top-5"></div>
	<hr/>
	<div class="clear top-5"></div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rules_engine-0.3.3 app/views/re_plans/_workflow_show.html.erb
rules_engine-0.3.2 app/views/re_plans/_workflow_show.html.erb
rules_engine-0.3.1 app/views/re_plans/_workflow_show.html.erb
rules_engine-0.3.0 app/views/re_plans/_workflow_show.html.erb