Sha256: 35de7338f12a432cd33e68e2093eef01c831f34cc021c24941fd503b701cee11
Contents?: true
Size: 801 Bytes
Versions: 8
Compression:
Stored size: 801 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', 'mercury' %> <%= yield(:head) %> </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
8 entries across 8 versions & 1 rubygems