search for: advanced_add

Displaying 1 result from an estimated 1 matches for "advanced_add".

2009 Feb 07
0
Simple form with option to go to advanced form
...rm which when clicked will reload the same project show view but with a full form comprising of title, due date, lable etc. I know i can create a new submit button in the current form <%= submit_tag "Advanced Add Options", :class => "submit_advanced", :name => "advanced_add" %> and then in the receving action use if params[:advanced_add] render :show end and in show have if params[:advanced_add] show the advanced form else show the simple form end but because the form is going to create in the task controller it means the task controller create action is...