Commit c471b48d authored by Evan Goldenberg's avatar Evan Goldenberg
Browse files

make contact.tpl into a more generic form template


Signed-off-by: default avatarEvan Goldenberg <evang@catalyst.net.nz>
(cherry picked from commit 9eefe2156bbd616cf9595cfc83c10e9b261fd96a)
parent b6270739
......@@ -129,7 +129,7 @@ function contactus_submit(Pieform $form, $values) {
$smarty = smarty();
$smarty->assign('PAGEHEADING', TITLE);
$smarty->assign('contactform', $contactform);
$smarty->display('contact.tpl');
$smarty->assign('form', $contactform);
$smarty->display('form.tpl');
?>
{include file="header.tpl"}
{$contactform}
{$form}
{include file="footer.tpl"}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment