我來到了一個情況,我需要有2個不同的形式之一爲「新」行動和其他「編輯」行動。一個模型與多軌形式在軌道
目前我的新動作視圖有
= render 'form'
但是當我嘗試創建另一種形式進行編輯
編輯操作視圖
= render 'form2'
它不工作,它返回一個錯誤消息
ActionView :: MissingTemplate in Google_categories_to_mast ERS#編輯
顯示C:/master/EDM/app/views/google_categories_to_masters/edit.html.erb其中線路#3提出:
缺少部分google_categories_to_masters /窗口2,應用/窗口2與{:處理器= > [:erb,:builder,:coffee,:haml],:formats => [:html],:locale => [:en,:en]}。搜索: *「C:/ master/EDM/app/views」 *「C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/kaminari-0.13.0/app/views 「 *‘C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-1.4.7/app/views’
誰能教我,我可以在軌道辦怎麼應用。