Sha256: 59a01549560c888a5baefcadc156c750d33ad27c0bba3000e10fede9f5c82734

Contents?: true

Size: 664 Bytes

Versions: 348

Compression:

Stored size: 664 Bytes

Contents

<%= render :partial => 'caboose/sites/admin_header' %>

<p><div id='site_<%= @site.id %>_custom_css'        ></div></p>

<%= render :partial => 'caboose/sites/admin_footer' %>

<% content_for :caboose_js do %>
<script type="text/javascript">

$(document).ready(function() {
  new ModelBinder({
    name: 'Site',
    id: <%= @site.id %>,
    update_url: '/admin/sites/<%= @site.id %>',
    authenticity_token: '<%= form_authenticity_token %>',
    attributes: [
      { name: 'custom_css', nice_name: 'Custom CSS', type: 'textarea' , value: <%= raw Caboose.json(@site.custom_css) %>, width: 600, height: 200 }      
    ]    
  });       
});

</script>
<% end %>

Version data entries

348 entries across 348 versions & 1 rubygems

Version Path
caboose-cms-0.9.103 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.102 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.101 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.100 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.99 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.98 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.97 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.96 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.95 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.94 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.93 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.92 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.91 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.90 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.89 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.88 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.87 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.86 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.85 app/views/caboose/sites/admin_edit_css.html.erb
caboose-cms-0.9.84 app/views/caboose/sites/admin_edit_css.html.erb