<?php
/**
 * View Helper - Include this at the end of each view file (before </body>)
 * This will add the form handler script automatically
 */
function includeFormHandler() {
    $scriptPath = '/system/assets/form-handler.js';
    echo '<script src="' . $scriptPath . '"></script>' . "\n";
}
