Sha256: 544c44cee976778eb94deef88a7af9a29e5ed11bd67d213f01d7cba57b858531

Contents?: true

Size: 470 Bytes

Versions: 4

Compression:

Stored size: 470 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Cover',
      icon: #{render('promethee/components/cover/icon').to_json.html_safe},
      position: 10,
      data: {
        type: 'cover',
        attributes: {
          blob: {
            id: undefined,
            name: ''
          },
          surtitle: '',
          title: '',
          subtitle: ''
        }
      }
    })
  JAVASCRIPT
%>

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
promethee-1.6.10 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.6.8 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.6.7 app/views/promethee/components/cover/_edit.define.html.erb
promethee-1.6.6 app/views/promethee/components/cover/_edit.define.html.erb