Sha256: 66a723af2756ae006b861b75579a3c426bda351c698dfc4c884917b145583182

Contents?: true

Size: 423 Bytes

Versions: 39

Compression:

Stored size: 423 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Image',
      icon: #{render('promethee/components/image/icon').to_json.html_safe},
      data: {
        type: 'image',
        attributes: {
          blob: {
            id: undefined,
            name: ''
          },
          alt: '',
          caption: ''
        }
      }
    })
  JAVASCRIPT
%>

<%= content_tag :div, nil, 'ng-init': init %>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
promethee-1.6.5 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.6.4 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.6.3 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.6.2 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.6.1 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.6.0 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.5.4 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.5.3 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.5.2 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.5.0 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.29 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.28 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.27 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.26 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.25 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.24 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.23 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.22 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.21 app/views/promethee/components/image/_edit.define.html.erb
promethee-1.4.20 app/views/promethee/components/image/_edit.define.html.erb