Sha256: b392228f7ea385489d8db66d85953968ca5b2922ec1e2ba9f9fe220b7257e82c

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

- if params[:editor] && current_user.rol.eql?('keppler_admin') && Rails.env.eql?("development")
  %keppler-style
    = javascript_include_tag 'keppler_frontend/app/grapes/grapes-editor.js', 'data-turbolinks-track': 'reload'
    = Gon::Base.render_data
    = stylesheet_link_tag 'keppler_frontend/app/grapes/grapes-custom', 'data-turbolinks-track': 'reload'
- else  
  :javascript
    $('keppler-no-edit').removeClass('no-edit-area');

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
keppler-2.1.1 installer/core/rockets/keppler_frontend/app/views/layouts/keppler_frontend/app/layouts/_keppler_editor.html.haml
keppler-2.1.pre.p1 installer/core/rockets/keppler_frontend/app/views/layouts/keppler_frontend/app/layouts/_keppler_editor.html.haml
keppler-2.1 installer/core/rockets/keppler_frontend/app/views/layouts/keppler_frontend/app/layouts/_keppler_editor.html.haml