Sha256: 879ee48032e7dfbef66d8b329ac677ff7edbb5305c44a10027e8272bad463e19
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
<%= page_header :title => t("txt.views.similar_terms.title") %> <% if @terms %> <%= sidebar do %> <%= sidebar_header t('txt.common.representations') %> <%= sidebar_item :icon => 'share', :text => 'HTML', :path => similar_path(:terms => params[:terms], :format => :html) %> <%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => similar_path(:terms => params[:terms], :format => :rdf) %> <%= sidebar_item :icon => 'share', :text => 'RDF/Turtle', :path => similar_path(:terms => params[:terms], :format => :ttl) %> <% end %> <% end %> <%= bootstrap_form_tag(:url => similar_path, :method => :get, :layout => :inline) do |f| %> <%= f.text_field :terms, :hide_label => true, :value => (@terms ? InlineDataHelper.generate_inline_values(@terms) : params[:terms]) %> <%= f.submit t('txt.views.search_results.submit'), :class => 'btn btn-primary' %> <% end %> <ol> <% (@results || []).each do |data| label = data[0] concepts = data[1..-1] %> <li> <%= label.value %> (<%= concepts.map do |concept| origin = concept.origin link_to origin, rdf_url(origin, :format => nil, :lang => nil) end.join(", ").html_safe %>) </li> <% end %> </ol>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iqvoc_similar_terms-2.7.0 | app/views/similar_terms/show.html.erb |