Sha256: b6ca4db239675e48b3dbda9519f69cf5d3a3977e198fc1aa80cdbd7892c09a2e

Contents?: true

Size: 977 Bytes

Versions: 43

Compression:

Stored size: 977 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'FAQ Item',
      icon: #{ promethee_component_render_icon 'faq_item' },
      position: 55,
      library: false,
      data: {
        type: 'faq_item',
        attributes: {
          image: {
            searchable: false,
            translatable: false,
            type: 'blob',
            value: {
              id: undefined,
              name: ''
            }
          },
          title: {
            searchable: true,
            translatable: true,
            type: 'string',
            value: ''
          },
          body: {
            searchable: true,
            translatable: true,
            type: 'text',
            value: ''
          },
          special_question: {
            searchable: false,
            translatable: false,
            type: 'boolean',
            value: false
          }
        }
      }
    })
  JAVASCRIPT
%>
<div ng-init="<%= init %>"></div>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
promethee-4.0.2 app/views/promethee/components/faq_item/_edit.define.html.erb
promethee-4.0.1 app/views/promethee/components/faq_item/_edit.define.html.erb
promethee-4.0.0 app/views/promethee/components/faq_item/_edit.define.html.erb