<%=form_for @menu_item,:url => spud_admin_menu_menu_items_path,:html=>{:class=>"right_aligned_form"} do |f|%> <%=render :partial => "form",:locals => {:f => f}%>
<%=f.submit%> or <%=link_to "cancel",request.referer%>
<%end%>