Sha256: 68eafdaedd91c6a5a3b7c83b543fc184883123b01e1d4e91206273dc40ee8234

Contents?: true

Size: 758 Bytes

Versions: 1

Compression:

Stored size: 758 Bytes

Contents

!!!
%html
  %head
    %meta{:content => "width=device-width, maximum-scale=1.0, initial-scale=1.0", :name => "viewport"}/
    = csrf_meta_tags
    %title Content Manager
    = stylesheet_link_tag    'mercury_engine/mercury'
    = javascript_include_tag 'jquery-1.7', 'mercury_engine/mercury'
  %body
    :javascript
      // Set to the url that you want to save any given page to, leave null for default handling.
      var saveUrl = null;

      // Instantiate the PageEditor
      new Mercury.PageEditor(saveUrl, {
        saveStyle:  'form', // 'form', or 'json' (default json)
        saveMethod: null, // 'PUT', or 'POST', (create, vs. update -- default PUT)
        visible:    true  // boolean - if the interface should start visible or not
      });

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mercury_engine-0.0.1 app/views/layouts/mercury.html.haml