<% case step.status %>
<% when 'Completed' %>
<% @step_text = 'Completed' %>
<% @step_label = 'label-success' %>
<% when 'Waiting Validation' %>
<% @step_text = 'Waiting Validation' %>
<% @step_label = 'label-warning' %>
<% else %>
<% @step_text = 'Incomplete' %>
<% @step_label = 'label-default' %>
<% end %>
<span class="label <%= @step_label %> pull-right" style="margin-top: 10px; margin-right: 5px;">
<%= @step_text %>
</span>
|