Sha256: a5baa6eb5cd47f2eff806379249494f0b3124859debd909363c0a3fb267b5122

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Row',
      icon: #{render('promethee/components/row/icon').to_json.html_safe},
      position: -2,
      data: {
        type: 'row',
        attributes: {},
        children: []
      }
    })
  JAVASCRIPT
%>

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

Version data entries

3 entries across 3 versions & 1 rubygems

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