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