LPS-40747 Web Content fileds are lost after selecting template

Hi Julio,

This issue existed before my changes for LPS-38611. Back then, if a structure was selected but it had no templates, the template selector was display instead of the select box. Adding and choosing a template will result in a reload of the web content form. Certainly, my changes made the issue more evident since it now happens when templates are available.

I've added a warnig message similar to the ones displayed when changing the default language or the structure. I've also fixed the template selector, so that the user cannot choose the current template again.

Thanks!