
<form method="post" action="assetTypeController.php?do=update&id={$data->assetscatid}">
    <table class="table-black">

        <tr>
            <td>اسم نوع الاصل</td>
            <td><span id="sprytextfield1">
                    <input type="text" name="name" id="name" value="{$data->cattitel}"/>
                    <span class="textfieldRequiredMsg">*</span></span></td>
        </tr>
        <tr>
            <td> تفاصيل أخرى</td>
            <td><textarea cols="20" rows="5" name="descripe" id="descripe">{$data->descripe}</textarea></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="حفظ" style="width:120px;"/></td>
        </tr>
    </table>
</form>
<script type="text/javascript">

    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");

</script>
