Sha256: 8b1108bf99ff240effdb0e5cad8380ec06779849d20871d4c043aaf9a7aff7b6

Contents?: true

Size: 1019 Bytes

Versions: 5

Compression:

Stored size: 1019 Bytes

Contents

- page_title "Property #{property.label || property.uri}"

- content_for :crumbs do
  %ol.breadcrumb
    %li= link_to_home
    - if property.defined_by_ontology
      %li= link_to "Ontology: #{property.defined_by_ontology.label || property.defined_by_ontology.uri}", resource_path_from_uri(property.defined_by_ontology.uri)
    %li Property

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

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

  %footer.alternative-formats
    :markdown
      This **property** is available as:
    %ul
      %li HTML
      %li= link_to("JSON", show_resource_path(:uri => property.uri, :format => 'json'))
      %li= link_to("RDF/XML", show_resource_path(:uri => property.uri, :format => 'rdf'))
      %li= link_to("Turtle", show_resource_path(:uri => property.uri, :format => 'ttl'))
      %li= link_to("N-triples", show_resource_path(:uri => property.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/properties/show.html.haml
publish_my_data-1.0.3 app/views/publish_my_data/properties/show.html.haml
publish_my_data-1.0.2 app/views/publish_my_data/properties/show.html.haml
publish_my_data-1.0.1 app/views/publish_my_data/properties/show.html.haml
publish_my_data-1.0.0 app/views/publish_my_data/properties/show.html.haml