myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3363] branches/wf4ever/app/views/packs/show.rhtm


From: noreply
Subject: [myexperiment-hackers] [3363] branches/wf4ever/app/views/packs/show.rhtml: made relationship view code refer to the configuation file
Date: Mon, 28 Jan 2013 06:49:53 +0000 (UTC)

Revision
3363
Author
dgc
Date
2013-01-28 06:49:53 +0000 (Mon, 28 Jan 2013)

Log Message

made relationship view code refer to the configuation file

Modified Paths

Diff

Modified: branches/wf4ever/app/views/packs/show.rhtml (3362 => 3363)


--- branches/wf4ever/app/views/packs/show.rhtml	2013-01-28 06:47:58 UTC (rev 3362)
+++ branches/wf4ever/app/views/packs/show.rhtml	2013-01-28 06:49:53 UTC (rev 3363)
@@ -127,7 +127,7 @@
           <% form_tag("#{rest_resource_uri(@pack)}/relationships") do -%>
 
               <% @resource_options = @pack.contributable_entries.map do |e| [URI::decode(e.ro_local_uri), e.ro_local_uri] end %> 
-              <% @relationship_options = [["Input selected", "http://purl.org/wf4ever/roterms#inputSelected"]] %>
+              <% @relationship_options = Conf.ro_terms %>
               <div><%= select_tag("subject",   options_for_select(@resource_options)) -%></div>
               <div><%= select_tag("predicate", options_for_select(@relationship_options)) -%></div>
               <div><%= select_tag("object",    options_for_select(@resource_options)) -%></div>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]