rendering a different view depending on model attributes

Would

if @form.office == “Pre” render :template => “form/show_pre” else render :template => “form/show_post” end

not work? Obviously, youd have to edit those view names to fit there. [Not sure that “form/show.pre” wouldn’t have unexpected consequences.]

RSL

Ah. perhaps write it out into a method and just call the method from the appropriate places. I wish you could use after_filters to do renders.

RSL