added type form to path replacement
Merge pull request #158 from ct4n/patch-1

added type 'form' to path replacement