<%= labelled_form_for @article, :url =>{:controller=>'article_homepages',:action => 'update'}, :html => {:nhname=>'form',:multipart => true, :id => 'message-form'} do |f| %> <%= render :partial => 'article_form', :locals => {:is_edit => true, :f => f} %> <% end %>