Sha256: 8aef911d6b6ac650b161b09ea7fdc1279e226aa01a3e70ab974fd5ad3156c375

Contents?: true

Size: 1.52 KB

Versions: 1

Compression:

Stored size: 1.52 KB

Contents

<% re_rule_verify = re_rule.verify %>
<% local_new_row = local_assigns[:new_row] && new_row  %>
<% local_last_rule = local_assigns[:last_rule] && last_rule  %>

<% if local_new_row  %>
  <div class="clear top-5"><hr/></div>
  <div class="clear top-5"></div>
<% end %>

<div class="span-6 <%= local_new_row ? 'left-20' : '' %> rule-show">
  <div class="<%= re_rule_verify.blank? ? 'bluebox' : 'redbox' %> rule-status-<%= re_rule_verify.blank? ? 'valid' : 'verify' %>"><%= re_rule.title %></div>
  <div class="<%= re_rule_verify.blank? ? 'bluebox' : 'redbox' %> no-top"> 
      <p class="top-5"><%= re_rule.summary %></p>

      <div class="top-10 float-right">
        <% if re_rule.re_rule_outcomes.empty? %>
          <div class="rule-continue">Continue</div>
        <% end %>        
        <% unless re_rule.re_rule_outcome_next.nil? %>
          <div class="rule-continue">Continue</div>
        <% end %>  
        <% re_rule.re_rule_outcomes_start_pipeline.each do |re_rule_outcome| %>
          <div class="rule-goto-pipeline"><%= re_rule_outcome.pipeline_code %></div>
        <% end %>  
        <% unless re_rule.re_rule_outcome_failure.nil? %>
          <div class="rule-stop-failure">Stop Failure</div>
        <% end %>  
        <% unless re_rule.re_rule_outcome_success.nil? %>
          <div class="rule-stop-success">Stop Success</div>
        <% end %>  
      </div>
      <div class="clear"></div>  
    </div>          
</div>

<% unless local_last_rule %>
  <div class="span-1 last"> <div class="rule-next-show"></div> </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rules_engine-0.0.1 rails_generators/templates/app/views/re_rules/_index.html.erb