anchor.diff:      </div>
   
       <!-- Result outputs -->
  -    <% result_outputs = outputs.select{|output| (output.type.blank? || output.type == WorkflowOutputPortType::RESULT)} -%>
  +    <% result_outputs = outputs.select{|output| output.port_type.name == WorkflowOutputPortType::RESULT} -%>
       <div class="fold">
         <div class="foldTitle">
           Result Outputs (<%= result_outputs.count -%>)
         </div>
         <div class="foldContent" style="display: none;">
           <% unless result_outputs.blank? -%>
  -            <table class="simple">
  -              <tr>
  -                <th>Name</th>
  -                <th>Description</th>
  -                <th>Example</th>
  -              </tr>
  -
  -              <% result_outputs.each do |s| -%>
  -                  <tr>
  -                    <td><b><%= s.name.html_safe -%></b></td>
  -                    <td><%= (s.description || '').html_safe -%></td>
  -                    <td><%= (s.example_value || '').html_safe -%></td>
  +            <table class="simple" style="width: 100%;">
  +              <% result_outputs.each do |b| -%>
  +                  <tr>
  +                    <td>
  +                      <h3><%= b.name %></h3>
  +                      <p>
  +                        <%= ('<strong>Description: </strong>' + (b.description || '')).html_safe %>
  +                      </p>
  +                      <p>
  +                        <strong>Example value:</strong><br/>
  +                      </p>
  +                      <% unless b.example_value.blank? %>
  +                          <p><pre class="script_example_data_box"><%= b.example_value %></pre></p>
  +                      <% end %>
  +                    </td>
                     </tr>
                 <% end %>
               </table>
  
positive.code:       </div>
        <div class="foldContent" style="display: none;">
          <% unless data_inputs.blank? -%>
              <table class="simple">
                <tr>
                  <th>Name</th>
                  <th>Description</th>
                  <th>Example</th>
                </tr>
  
                <% data_inputs.each do |s| -%>
                    <tr>
                      <td><b><%= s.name.html_safe -%></b></td>
                      <td><%= (s.description || '').html_safe -%></td>
                      <td><%= (s.example_value || '').html_safe -%></td>
                    </tr>
                <% end %>
              </table>
          <% else %>
  
negative.code:       </div>
        <div class="foldContent" style="display: none;">
          <% unless paramater_inputs.blank? -%>
              <table class="simple" style="width: 100%;">
                <% paramater_inputs.each do |b| -%>
                    <tr>
                      <td>
                        <h3><%= b.name %></h3>
                        <p>
                          <%= ('<strong>Description: </strong>' + (b.description || '')).html_safe %>
                        </p>
                        <p>
                          <strong>Example value:</strong><br/>
                        </p>
                        <% unless b.example_value.blank? %>
                            <p><pre class="script_example_data_box"><%= b.example_value %></pre></p>
                        <% end %>
                      </td>
                    </tr>
                <% end %>
              </table>
  