show.html.erb 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <% content_for :subnav_items do %>
  2. <%= render 'subnav_item', link_text: 'VEN', destination_path: ven_path(@report.ven.id) %>
  3. <%= render 'subnav_item', link_text: 'Report', destination_path: report_path(@report) %>
  4. <% end %>
  5. <div class="form">
  6. <fieldset>
  7. <h3 class="fieldset-heading">Report Identification</h3>
  8. <table>
  9. <tbody>
  10. <tr>
  11. <td><label>VEN</label></td>
  12. <td style="width: 20px"></td>
  13. <td><%=@report.ven.name %></td>
  14. </tr>
  15. <tr>
  16. <td><label>Report Name</label></td>
  17. <td style="width: 20px"></td>
  18. <td><%=@report.report_name.name %></td>
  19. </tr>
  20. <tr>
  21. <td><label>Report Specifier ID</label></td>
  22. <td style="width: 20px"></td>
  23. <td><%=@report.report_specifier_id %></td>
  24. </tr>
  25. <tr>
  26. <td><label>Duration</label></td>
  27. <td style="width: 20px"></td>
  28. <td><%=@report.duration %></td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </fieldset>
  33. </div>
  34. <%= generate_list_readonly(@report.report_interval_descriptions, ReportIntervalDescription, "Report Description",
  35. [:rid, :reading_type_id, :emix_item, :report_data_source, :sampling_rate_max_period, :sampling_rate_min_period, :sampling_rate_on_change]) %>