Sha256: 67cab2a71d07bb9e4a9cf93ce78df8792234d1825df88746619f57a551052135
Contents?: true
Size: 731 Bytes
Versions: 23
Compression:
Stored size: 731 Bytes
Contents
<h1>Edit Page Content</h1> <p class='current_page_editing'>Currently editing: /<%= @page.uri %></p> <div id='page_<%= @page.id %>_container'></div> <% content_for :caboose_js do %> <%= javascript_include_tag "caboose/model.form.page" %> <script type="text/javascript"> $(document).ready(function() { var page = new Model({ name: 'Page', id: <%= @page.id %>, form: 'Model.Form.Page', attributes: [ { name: 'title' , type: 'h1' , value: <%= raw Caboose.json(@page.title ) %>, width: '500px' }, { name: 'content' , type: 'rich-text' , value: <%= raw Caboose.json(@page.content ) %> } ] }); }); </script> <%= tinymce :caboose %> <% end %>
Version data entries
23 entries across 23 versions & 1 rubygems