app/views/cms/links/edit.html.erb in browsercms-3.3.4 vs app/views/cms/links/edit.html.erb in browsercms-3.4.0.rc1

- old
+ new

@@ -1,14 +1,13 @@ <% page_title "Edit '#{h(@link.name)}' Link" %> <%= content_for :functions do %> <%= "<h1>#{ @page_title }</h1>" %> -<%= link_to(span_tag("list all"), cms_sitemap_path, :class => "button") %> +<%= link_to(span_tag("list all"), cms.sitemap_path, :class => "button") %> <br clear="all"/> <% end %> -<%= form_for([:cms, @link]) do |f| %> - +<%= form_for(@link) do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> <div class="buttons"> - <%= lt_button_wrapper('<button type="submit" name="link[publish_on_save]" value="true" class="submit"><span>Save And Publish</span></button>') %> + <%= lt_button_wrapper('<button type="submit" name="cms_link[publish_on_save]" value="true" class="submit"><span>Save And Publish</span></button>') %> <%= lt_button_wrapper(f.submit("Save", :class => "submit")) %> </div> <% end %>