?>
                                        <button type="reset" class="btn btn-warning">Clear</button>
                                       </div>
                                    </form>
                                
                                <!-- /.col-lg-6 (nested) -->
                               
                            </div>
                            <!-- /.row (nested) -->
                            </div>
                            </div>
                        </div>
                            <?php 
} else {
    if ($action == "delete") {
        if ($db->deleteInfantRegistration($reg_id) > 0) {
            echo '<label class="control-label" for="inputSuccess">Infant Registration deleted!</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>';
        } else {
            echo '<label class="control-label" for="inputError">Infant Registration was not deleted.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>';
        }
    }
}
?>
                        <!-- /.panel-body -->
                    </div><!-- chedk here -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->