<?php /* Smarty version Smarty-3.1.11, created on 2024-12-01 05:39:29
         compiled from "../views/obgy/patients/siglemodeltodelete/husbandtypes.html" */ ?>
<?php /*%%SmartyHeaderCode:249055229674c6711920460-28832946%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '88cb87e6db8b866dd78ccf37c5de1253b66d2822' => 
    array (
      0 => '../views/obgy/patients/siglemodeltodelete/husbandtypes.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '249055229674c6711920460-28832946',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'allHusTypes' => 0,
    'row' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_674c6711a34a56_19477852',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_674c6711a34a56_19477852')) {function content_674c6711a34a56_19477852($_smarty_tpl) {?>



<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
            <h4 class="modal-title">  صفة الزوج</h4>
        </div>
        <div class="modal-body">
            <div class="portlet-body form">
                <input type="hidden" id="controllName" value="111"/>
                <button type="button" class="btn btn-xs blue fright addwtRow" id="addwtRow" data-selectClass="htype" data-fun="delhustype" data-tableName="husbandtypes"><i class="fa fa-plus"></i> إضافة</button></td>
                <table cellspacing="10" width="100%" id="ptAddTbl" class="ptAddTbl">
                    <thead>
                        <tr >

                            <th class="textcenter">حذف</th>
                            <th class="textcenter" style="text-align: center;">الصفة</th>
                        </tr>
                    </thead>
                    <tbody id="loaddetectionnew">
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                        <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allHusTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
?>                    
                        <tr class="textcenter" >
                            <td>
                                <a class="deleteelement fa fa-times btn red fleft"  data-selectClass="htype"  data-select2="yes" data-id="<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
" data-link="patients"  data-fun="delhustype"></a>
                            </td>
                            <td style="width: 100%">
                                <input type="text" class="form-control updateElementSelect" data-selectClass="htype"  data-select2="yes" data-id="<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
" data-colName="title" data-tableName="husbandtypes" value="<?php echo $_smarty_tpl->tpl_vars['row']->value->title;?>
"/>
                            </td>

                        </tr>

                        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>

        <div class="modal-footer">
            <button type="button" class="btn default" data-dismiss="modal">إغلاق</button>
        </div>
        <!-- /.modal-content -->
    </div>
</div>

















<?php }} ?>