Sha256: 696d64f0bf82504e2914ce39b3ec6765dce7ba29e84f1e25361e82c54c5b580c

Contents?: true

Size: 380 Bytes

Versions: 27

Compression:

Stored size: 380 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Cover',
      icon: #{render('promethee/components/cover/icon').to_json.html_safe},
      data: {
        type: 'cover',
        attributes: {
          src: 'https://picsum.photos/1920/1080/?random',
          body: ''
        }
      }
    })
  JAVASCRIPT
%>

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

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
promethee-1.4.4 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.4.3 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.4.2 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.4.1 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.4.0 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.26 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.25 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.24 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.23 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.22 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.21 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.20 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.19 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.18 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.17 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.16 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.15 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.13 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.12 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.3.11 app/views/promethee/components/cover/_edit.define.html.erb