Lost an Admin Templates - How do I get it back?

I was installing an addon I had custom built that required me to manually add a line to the user_group_edit admin template and after I saved it, the user_group_edit template went missing.

Is there any easy way to restore it?

I'm not sure if any of this info matters, but...

The line added was as follows:

<xen:textboxunit label="Email string match:" name="strings" value="{$userGroup.strings}" rows="2" inputclass="Elastic" />

I made the mistake of installing the addon before I added the line to the user_group_edit template and when I saved the template, I saved it after clicking the drop down box and selecting the addon name (probably a mistake).

Thanks for your help!!
 
Oh, looks like it's gone from the DB. It looks like it's template_id 1037. Is there a quick way for me to get the content of the template without creating another install and looking in the database for it?

I don't mind manually adding it back to the database.

Let me know. Otherwise, I will just create a test install to get it.
 
Go to your installation page (<xf-root-directory>/install/).
Login, if necessary.

There would be an option to "Rebuild Master Data". That would re-import all the core xenforo data.
 
Top Bottom