</div>

<div class="row">
    <div class="box col-md-12">
        <div class="box-inner">
            <div class="box-header well" data-original-title="">
                <h2><i class="glyphicon glyphicon-edit"></i>Type Of Document Form</h2>
                
            </div>
            <div class="box-content">
                  <?php 
$id = Request::get("id");
if (is_numeric($id) && $id > 0) {
    $TypeOfDocumentObj = new TypeOfDocument();
    $TypeOfDocumentObj->set("id", $id);
    $result = $TypeOfDocumentObj->getName();
    if (count($result)) {
        $row = $result[0];
        $id = $row['id'];
        $name = $row['name'];
        $active = $row['active'];
    }
}
?>
                <form action="" method="POST">
                    <table style="margin-left: 20%;" width="100%" >
                        <tr>
                            <td><label class="control-label" for="selectError">Type Of Document</label></td>
                            <td><div class="input-group" style="width: 50%">
                    <span class="input-group-addon"></span>
                    <input type="text" name="name"  class="form-control" placeholder="Type Of Document" required="" value="<?php