<?php /* Smarty version Smarty-3.1.11, created on 2025-02-25 07:58:53
         compiled from "../views/default/unitview/add.html" */ ?>
<?php /*%%SmartyHeaderCode:44259530267acdbd380dbe5-42578827%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0e2c28a3ba09771c74618dec217a9482e6a2c786' => 
    array (
      0 => '../views/default/unitview/add.html',
      1 => 1740000150,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '44259530267acdbd380dbe5-42578827',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67acdbd3896582_46290941',
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67acdbd3896582_46290941')) {function content_67acdbd3896582_46290941($_smarty_tpl) {?>

<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">المنتجات</a></li>
            <li><a href="unitController.php?do=show">وحدات القياس</a></li>
            <li class="active">اضافة وحدة</li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title">اضافة وحدة</h3>
            </div>
            <div class="panel-body">


                
                <form id="myform" class="nameToBeChecked form-horizontal" role="form" action="unitController.php?do=add" method="post" >

                    




                    <div class="form-group">
                        <label for="unitName" class="col-lg-2 control-label">اسم الوحدة</label>
                        <div class="col-lg-4">
                            <input type="text" name="unitName" id="unitName"   placeholder="اسم الوحدة" class="form-control" />
                            <div id="nameError" style="display:none"></div>
                        </div>
                    </div>

                    <!-- =================================================   -->




                    <div class="form-group">
                        <label for="unitSymbol" class="col-lg-2 control-label">رمز الوحدة</label>
                        <div class="col-lg-4">

                            <input type="text" name="unitSymbol" id="unitSymbol"   class="form-control " placeholder="الرمز"/>

                        </div>
                    </div>


                    <!-- =================================================   -->



                    <div class="form-group">
                        <label for="unitDescription" class="col-lg-2 control-label">التعليق</label>
                        <div class="col-lg-4">

                            <textarea  class="form-control" rows="3" name="unitDescription"></textarea>

                        </div>
                    </div>

                    <!-- =================================================   -->

                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="button"  id="savebtn" class="btn btn-primary pull-left">حفظ الامر</button>
                        </div>
                    </div>


                </form>
            </div>
        </div>




    </div>
</div>




<script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
</script>

<?php }} ?>