Sha256: a725e878ad892829a233ab45f5753cbd2cceb611c3ea32498a7ace2657521b9f

Contents?: true

Size: 868 Bytes

Versions: 3

Compression:

Stored size: 868 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>Mmercury Editor</title>
    <%= stylesheet_link_tag    'mercury' %>
    <%= javascript_include_tag 'jquery-1.7', 'mercury' %>
     <%#= javascript_include_tag "application" %>
  </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:  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
      });
    // </script>
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
very_simple_cms-0.0.3 test/dummy/app/views/layouts/mercury.html.erb
very_simple_cms-0.0.2 test/dummy/app/views/layouts/mercury.html.erb
very_simple_cms-0.0.1 test/dummy/app/views/layouts/mercury.html.erb