<% remote_form_for :article_category, :url => { :action => 'updateCategory', :id => @article_category }, :before => "Element.show('loader')", :success => "Element.hide('loader')" do |@f| %> <%= render :partial => '/article_categories/form' %>
<%= submit_tag "Speichern" %> | <%= link_to_function("Abbrechen", "Element.hide('category_form')") %> <% end %>