Sha256: dd3e83d85985e9a29c99b590f2fb951491e86d77fe1a185619af1cfea4118e5c
Contents?: true
Size: 961 Bytes
Versions: 376
Compression:
Stored size: 961 Bytes
Contents
<% p = @product %> <%= render :partial => 'caboose/products/admin_header' %> <div id='message'><%= raw flash[:message] ? flash[:message] : "" %></div> <p><div id='product_<%= p.id %>_description'></div></p> <%= render :partial => 'caboose/products/admin_footer' %> <% content_for :caboose_js do %> <script type='text/javascript'> $(document).ready(function() { m = new ModelBinder({ name: 'Product', id: <%= p.id %>, update_url: '/admin/products/<%= p.id %>', authenticity_token: '<%= form_authenticity_token %>', attributes: [{ name: 'description', nice_name: 'Description', type: 'richtext', value: <%= raw Caboose.json(p.description) %>, width: 500 }] }); }); var modal = false; $(window).load(function() { modal = new CabooseModal(800); }); </script> <script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script> <%= tinymce :caboose, :width => '575px', :height => '240px' %> <% end %>
Version data entries
376 entries across 376 versions & 1 rubygems