Sha256: cb669257654108189a813eea4ad8a91430328def1089ce49e58f63ae1223677e
Contents?: true
Size: 857 Bytes
Versions: 72
Compression:
Stored size: 857 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_css do %> <style> textarea { font-family: monospace; font-size: 13px; line-height: 20px; padding: 30px 9px 9px 9px !important; } </style> <% end %> <% 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: 400 } ] }); }); </script> <% end %>
Version data entries
72 entries across 72 versions & 1 rubygems