Sha256: 697199249b1a245077e74c66ee05ae9e956db89e6b78f8f12991e71bdaf889fa
Contents?: true
Size: 931 Bytes
Versions: 4
Compression:
Stored size: 931 Bytes
Contents
<%= page_header :title => t("txt.views.triplestore_sync.caption") %> <%= render "dashboard/sidebar" %> <%= form_tag triplestore_sync_path(:format => nil), :method => :post do %> <%= submit_tag t("txt.views.triplestore_sync.start"), :class => "btn btn-primary" %> <% end %> <% @candidates.each do |records| %> <% klass = records.klass %> <h3><%= klass.model_name.human(:count => 2) %></h3> <ul> <% records.each do |record| %> <% # XXX: does not belong here -- also heavily over-engineered doc = IqRdf::Document.new(root_url(:lang => nil)) RdfNamespacesHelper.instance_methods.each do |meth| namespaces = send(meth) doc.namespaces(namespaces) if namespaces.is_a?(Hash) end uri = record.build_rdf_subject.full_uri # XXX: we actually just want path, plus HTML format %> <li><%= link_to record.to_s, uri %></li> <% end %> </ul> <%= paginate records %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems