Hi Michael,
Michael Satterwhite wrote:
I'd like to set a value somewhere to let the view know if it is in "add new" mode or "Update" mode. Depending on the mode, one line of text in the view is to be presented differently (e.g. <% if updateMode == true %>).
The simplest approach might be to set an instance variable (e.g., @updateMode) in your controller and then do a check (e.g.,<% if !@updateMode.nil? %>) in the view to figure out where you are.
hth, Bill