Sha256: 9248bf59cb29b1af6ef5a6337f87aecab123bf2f04672be19dfb6a01f753e33e

Contents?: true

Size: 345 Bytes

Versions: 4

Compression:

Stored size: 345 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Text',
      icon: #{render('promethee/components/text/icon').to_json.html_safe},
      position: 1,
      data: {
        type: 'text',
        attributes: {
          body: 'Edit me'
        }
      }
    })
  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/text/_edit.define.html.erb
promethee-1.6.8 app/views/promethee/components/text/_edit.define.html.erb
promethee-1.6.7 app/views/promethee/components/text/_edit.define.html.erb
promethee-1.6.6 app/views/promethee/components/text/_edit.define.html.erb