Allow for custom templates

* added new i18n messages
* added new form fields
* adjusted logic accordingly

Bug: 63889
Change-Id: Ibab2b75e018409e8699a72b9c90cb2eb6a7babf5