Added "model" to locals in condiftional

Makes it easy to write forms that doesn't need to now the particular
name of the object.