Sha256: 017117adc021dbe94135a6b5114efdb0601e076bfa80f924e9c9ce9185731423

Contents?: true

Size: 433 Bytes

Versions: 4

Compression:

Stored size: 433 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Image',
      icon: #{ promethee_component_render_icon 'image' },
      position: 2,
      library: true,
      data: {
        type: 'image',
        attributes: {
          image: {
            id: undefined,
            name: ''
          },
          alt: '',
          caption: ''
        }
      }
    })
  JAVASCRIPT
%>
<div ng-init="<%= init %>"></div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
promethee-1.6.14 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.6.13 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.6.12 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.6.11 app/views/promethee/components/image/_edit.define.html.erb