Exemple #1
0
            <div class="det-input-error-message" <?php 
\Utility\HtmlHelper::HideIfEmptyOrNull($tpl_details_errors, 'notes');
?>
><?php 
\Utility\HtmlHelper::EchoIfPresent($tpl_details_errors, 'notes');
?>
</div>
        </div>
        <div class="details-form-input">
            <label for="df-emp">Who:</label>
            <select id="df-emp" name="employee" size="1"<?php 
readonlyIfFalse($tpl_can_modify);
?>
>
                <?php 
\Utility\HtmlHelper::EchoOptions($empArray, is_array($tpl_details_values) ? $tpl_details_values['employee'] : null);
?>
            </select>
        </div>
        <div class="details-form-input">
            <label for="df-submitted">Submitted:</label>
            <input type="text" name="submitted" id="df-submitted" value="<?php 
\Utility\HtmlHelper::EchoIfPresent($tpl_details_values, 'submitted');
?>
" readonly>
        </div>
        <div class="details-form-input"<?php 
hideIfEmpty($tpl_is_chain);
?>
>
            <label class="checkbox-label" style="width:inherit;">