Add classes for inline and hanging form