Form helper and default pagination template