myGrid/taverna-player

View on GitHub
app/views/taverna_player/runs/embedded/_inputs.html.erb

Summary

Maintainability
Test Coverage
<%
  # Copyright (c) 2013 The University of Manchester, UK.
  #
  # BSD Licenced. See LICENCE.rdoc for details.
  #
  # Taverna Player was developed in the BioVeL project, funded by the European
  # Commission 7th Framework Programme (FP7), through grant agreement
  # number 283359.
  #
  # Author: Robert Haines
%>

<div id="run-inputs">
  <h2>Inputs</h2>

  <% run.inputs.each do |input| %>
    <p>
      <b>Name:</b>
      <%= input.name %>
    </p>

    <p>
      <b>Value:</b>
      <%= input.value %>
    </p>

    <p>
      <b>File:</b>
      <%= link_to input.file_file_name, input.file.url %>
    </p>
  <% end%>
</div>