iqvoc_similar_terms 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/similar_terms/show.html.erb +9 -0
- data/lib/iqvoc/similar_terms/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dace2748cbace567b159808910e1ebbe1d31483
|
4
|
+
data.tar.gz: af43d5266ee8d506c7e7fe3cec4b923a479bb449
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3197e31a660fd70f5d14046aa5b51d8002fd950f2e5798dc57f30ee04facec56fa4600e548ab953e0d45f8986321c82a45b902296c3104183a57b8b472ff05b2
|
7
|
+
data.tar.gz: 9a37c52d395cd6f6e59f4760a660b7fecdd5540a5db820e5a61ff13873b3d84a6df571925c3da37925a1085c774c0ab911900524534065b618f5322036bd0083
|
@@ -1,5 +1,14 @@
|
|
1
1
|
<%= page_header :title => "Similar Terms" %> <%# TODO: i18n %>
|
2
2
|
|
3
|
+
<% if @terms %>
|
4
|
+
<%= sidebar do %>
|
5
|
+
<%= sidebar_header t('txt.common.representations') %>
|
6
|
+
<%= sidebar_item :icon => 'share', :text => 'HTML', :path => similar_path(:terms => params[:terms], :format => :html) %>
|
7
|
+
<%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => similar_path(:terms => params[:terms], :format => :rdf) %>
|
8
|
+
<%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => similar_path(:terms => params[:terms], :format => :ttl) %>
|
9
|
+
<% end %>
|
10
|
+
<% end %>
|
11
|
+
|
3
12
|
<%= form_tag(similar_path, :method => :get, :class => 'form-horizontal') do %>
|
4
13
|
<%= text_field_tag :terms, (@terms ?
|
5
14
|
Iqvoc::InlineDataHelper.generate_inline_values(@terms) :
|