Sha256: 86d72a8f2ab937ad31f5e0e5de123f8b175da5d46536e3afac3333b62d9312c3
Contents?: true
Size: 724 Bytes
Versions: 1
Compression:
Stored size: 724 Bytes
Contents
!!! %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-1.7', '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.haml |