Modified: branches/packs/app/controllers/packs_controller.rb (3651 => 3652)
--- branches/packs/app/controllers/packs_controller.rb 2013-09-01 20:39:38 UTC (rev 3651)
+++ branches/packs/app/controllers/packs_controller.rb 2013-09-01 23:45:50 UTC (rev 3652)
@@ -94,6 +94,8 @@
@ro_relationships = Conf.ro_relationships
@sketch = @graph.query(:predicate => RDF.type,
:object => RDF::URI("http://purl.org/wf4ever/roterms#Sketch")).first_subject
+ @research_question = @graph.query(:predicate => RDF.type,
+ :object => RDF::URI("http://purl.org/wf4ever/roterms#ResearchQuestion")).first_subject
@hypothesis = @graph.query(:predicate => RDF.type,
:object => RDF::URI("http://purl.org/wf4ever/roterms#Hypothesis")).first_subject
@conclusions = @graph.query(:predicate => RDF.type,
Modified: branches/packs/app/views/packs/show.rhtml (3651 => 3652)
--- branches/packs/app/views/packs/show.rhtml 2013-09-01 20:39:38 UTC (rev 3651)
+++ branches/packs/app/views/packs/show.rhtml 2013-09-01 23:45:50 UTC (rev 3652)
@@ -93,6 +93,11 @@
<%= image_tag(@sketch.to_s, :width => '100%') -%>
<% end %>
+ <% if @research_question %>
+ <h2>Research Question</h2>
+ <p><%= link_to(h(@research_question.to_s), @research_question.to_s) -%></p>
+ <% end %>
+
<% if @hypothesis %>
<h2>Hypothesis</h2>
<p><%= link_to(h(@hypothesis.to_s), @hypothesis.to_s) -%></p>