Sha256: e6825a8985b3661cb1881419cbe97e77eac384a550487a116fe511e57239767f
Contents?: true
Size: 676 Bytes
Versions: 30
Compression:
Stored size: 676 Bytes
Contents
<% content_for :html_head do %> <script type="text/javascript"> jQuery(function($){ $("#section_name").keyup(function(){ var section_path = "<%= @parent.path %>".replace(/\/$/, '') $("#section_path").val(section_path + "/" + $.cms.slug($(this).val())) }) }) </script> <% end %> <% page_title "New Section" %> <% content_for :functions do %> <%= "<h1>#{ @page_title }</h1>" %> <%= link_to(span_tag("list all"), cms_sitemap_path, :class => "button") %> <br clear="all"/> <% end %> <% form_for([:cms, @section], :id => 'section_form') do |f| %> <%= hidden_field_tag :section_id, @parent.id %> <%= render :partial => 'form', :locals => {:f => f} %> <% end %>
Version data entries
30 entries across 30 versions & 9 rubygems