Sha256: 0ecec66a2e0ef31d66bf20bc509751699056889f2fb96bf52b1f1f80986f8b35
Contents?: true
Size: 1.88 KB
Versions: 6
Compression:
Stored size: 1.88 KB
Contents
<%= render :partial => 'caboose/pages/admin_header' %> <p><div id='page_<%= @page.id %>_seo_title'></div></p> <p><div id='page_<%= @page.id %>_meta_description'></div></p> <p><div id='page_<%= @page.id %>_meta_robots'></div></p> <p><div id='page_<%= @page.id %>_canonical_url'></div></p> <p><div id='page_<%= @page.id %>_fb_description'></div></p> <p><div id='page_<%= @page.id %>_gp_description'></div></p> <%= render :partial => 'caboose/pages/admin_footer' %> <% content_for :caboose_js do %> <%= javascript_include_tag "caboose/model/all" %> <script type="text/javascript"> var modal = false; $(document).ready(function() { m = new ModelBinder({ name: 'Page', id: <%= @page.id %>, update_url: '/admin/pages/<%= @page.id %>', authenticity_token: '<%= form_authenticity_token %>', attributes: [ { name: 'seo_title' , nice_name: 'SEO Title' , type: 'text' , value: <%= raw Caboose.json(@page.seo_title) %>, width: 580 }, { name: 'meta_robots' , nice_name: 'Meta Robots' , type: 'text' , value: <%= raw Caboose.json(@page.meta_robots) %>, width: 580 }, { name: 'canonical_url' , nice_name: 'Canonical URL' , type: 'text' , value: <%= raw Caboose.json(@page.canonical_url) %>, width: 580 }, { name: 'meta_description' , nice_name: 'Meta Description' , type: 'textarea' , value: <%= raw Caboose.json(@page.meta_description) %>, width: 580, height: 80 }, { name: 'fb_description' , nice_name: 'Facebook Description' , type: 'textarea' , value: <%= raw Caboose.json(@page.fb_description) %>, width: 580, height: 80 }, { name: 'gp_description' , nice_name: 'Google+ Description' , type: 'textarea' , value: <%= raw Caboose.json(@page.gp_description) %>, width: 580, height: 80 } ] }); modal = new CabooseModal(600, 540); }); </script> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems