Sha256: 5e8594b9fab0f4485742f5fc0f8dfca93c5e90326a9a5fbc93336703adb2394b

Contents?: true

Size: 824 Bytes

Versions: 6

Compression:

Stored size: 824 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</title>
    <%= stylesheet_link_tag    'mercury' %>
    <%= javascript_include_tag 'jquery-1.7', 'wafflemix/mercury' %>
  </head>
  <body>
    <script type="text/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: 'POST', // 'PUT', or 'POST', (create, vs. update -- default PUT)
        visible: true // boolean - if the interface should start visible or not
      });
    </script>

  </body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wafflemix-0.0.6 app/views/layouts/mercury.html.erb
wafflemix-0.0.5 app/views/layouts/mercury.html.erb
wafflemix-0.0.4 app/views/layouts/mercury.html.erb
wafflemix-0.0.3 app/views/layouts/mercury.html.erb
wafflemix-0.0.2 app/views/layouts/mercury.html.erb
wafflemix-0.0.1 app/views/layouts/mercury.html.erb