Sha256: ced738ee3b488c67c5934e240353fc12ae36e29e77e54660e0bd0ebcb5f991d9

Contents?: true

Size: 988 Bytes

Versions: 5

Compression:

Stored size: 988 Bytes

Contents

- page_title "Concept #{concept.label || concept.uri}"

- content_for :crumbs do
  %ol.breadcrumb
    %li= link_to_home
    - if concept.concept_scheme
      %li= link_to "Concept Scheme: #{concept.concept_scheme.label || concept.concept_scheme.uri}", resource_path_from_uri(concept.concept_scheme.uri)
    %li Concept

%article#resource
  %header
    %h3 Concept
    %h1= concept.label || concept.uri
    %h3 URI
    %h2.click-to-select= concept.uri

  = render  'publish_my_data/resources/resource_data', resource: concept

  %footer.alternative-formats
    :markdown
      This **concept** is available as:
    %ul
      %li HTML
      %li= link_to("JSON", show_resource_path(:uri => concept.uri, :format => 'json'))
      %li= link_to("RDF/XML", show_resource_path(:uri => concept.uri, :format => 'rdf'))
      %li= link_to("Turtle", show_resource_path(:uri => concept.uri, :format => 'ttl'))
      %li= link_to("N-triples", show_resource_path(:uri => concept.uri, :format => 'nt'))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
publish_my_data-1.0.4 app/views/publish_my_data/concepts/show.html.haml
publish_my_data-1.0.3 app/views/publish_my_data/concepts/show.html.haml
publish_my_data-1.0.2 app/views/publish_my_data/concepts/show.html.haml
publish_my_data-1.0.1 app/views/publish_my_data/concepts/show.html.haml
publish_my_data-1.0.0 app/views/publish_my_data/concepts/show.html.haml