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