Sha256: 554f3052abddb182783b9f773225236ccbc5d27f2987c1f197da149824d20569
Contents?: true
Size: 622 Bytes
Versions: 144
Compression:
Stored size: 622 Bytes
Contents
<h1>Edit Setting</h1> <div id='setting_<%= @setting.id %>_container'></div> <% content_for :caboose_js do %> <script type="text/javascript"> $(document).ready(function() { var setting = new Model({ name: 'Setting', id: <%= @setting.id %>, listing_url: 'get /admin/settings', update_url: 'put /admin/settings/<%= @setting.id %>', delete_url: 'delete /admin/settings/<%= @setting.id %>', attributes: [ { name: 'name' , type: 'text' , value: "<%= @setting.name %>" }, { name: 'value' , type: 'textarea' , value: "<%= @setting.value %>" } ] }); }); </script> <% end %>
Version data entries
144 entries across 144 versions & 1 rubygems