Sha256: 8ec5bc7fd66d468bbd73920054635ef4e3071977a2719f93d3518d5669f20557
Contents?: true
Size: 1.82 KB
Versions: 9
Compression:
Stored size: 1.82 KB
Contents
<% re_rule_error = re_rule.rule_error %> <% 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="<%= local_new_row ? 'left-10' : '' %> re-xtra-rule-preview"> <div class="<%= re_rule_error.blank? ? 're-bluebox' : 're-redbox' %>"><%=h re_rule.title %></div> <div class="<%= re_rule_error.blank? ? 're-bluebox' : 're-redbox' %> no-top"> <p class="float-left top-5"> <span class="re-code blue"><%=h re_rule.rule.options[:display_name]%>.</span> <%=h re_rule.summary %> </p> <div class="float-right red smalltext right-5"> <%=h re_rule_error %> </div> <div class="clear"></div> <!-- <div class="top-5 float-right"> <% re_rule.rule.expected_outcomes.each do |expected_outcome| %> <% if expected_outcome[:outcome] == RulesEngine::Rule::Outcome::STOP_SUCCESS %> <div class="re-xtra-rule-stop-success"><%= expected_outcome[:title] || 'Stop Success' %></div> <% elsif expected_outcome[:outcome] == RulesEngine::Rule::Outcome::STOP_FAILURE %> <div class="re-xtra-rule-stop-failure"><%= expected_outcome[:title] || 'Stop Failure' %></div> <% elsif expected_outcome[:outcome] == RulesEngine::Rule::Outcome::START_WORKFLOW %> <div class="re-xtra-rule-start-workflow"><%= expected_outcome[:title] || 'Start Workflow' %></div> <% elsif expected_outcome[:outcome] == RulesEngine::Rule::Outcome::NEXT %> <div class="re-xtra-rule-continue"><%= expected_outcome[:title] || 'Continue' %></div> <% end %> <% end %> </div> --> <div class="clear"></div> </div> </div> <% unless local_last_rule %> <div class="re-xtra-rule-next-right"></div> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems