Sha256: 5aff30536f57a790b92463bc8b08ff87e28c18d2b22fe7b63b997ec594027ba2

Contents?: true

Size: 714 Bytes

Versions: 1

Compression:

Stored size: 714 Bytes

Contents

doctype html
html
  head
    meta name="viewport" content="width=device-width, maximum-scale=1.0, initial-scale=1.0"
    = csrf_meta_tags
    title Mercury Editor
    = stylesheet_link_tag    'mercury'
    = javascript_include_tag 'jquery', '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:  null, // '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
kiteditor-1.0.12 app/views/layouts/mercury.html.slim