Sha256: 3829a311bedab9c277a3dc2d46bc3a0ea88c12a61797e245b187e8d3563b9030

Contents?: true

Size: 233 Bytes

Versions: 11

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true

json.set!(field_name) do
  json.id "#{document_url}##{field_name}"
  json.type "document_value"
  json.attributes do
    json.value doc_presenter.field_value(field)
    json.label field.label
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
geoblacklight_admin-0.6.0 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.5.1 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.5.0 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.4.2 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.4.1 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.4.0 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.3.2 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.3.1 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.3.0 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.2.1 app/views/admin/api/_field.json.jbuilder
geoblacklight_admin-0.1.0 app/views/admin/api/_field.json.jbuilder