<?php /* Smarty version Smarty-3.1.11, created on 2025-08-03 08:14:46
         compiled from "../views/obgy/instruction/edit.html" */ ?>
<?php /*%%SmartyHeaderCode:1201801827688f7ce6b6f498-99508151%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c35494261b5f8e92a9e4aeba9f40dd131e531e66' => 
    array (
      0 => '../views/obgy/instruction/edit.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1201801827688f7ce6b6f498-99508151',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'patientId' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'editElement' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_688f7ce7167aa2_26294265',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_688f7ce7167aa2_26294265')) {function content_688f7ce7167aa2_26294265($_smarty_tpl) {?>

<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>instruction
                        </div>
                    </div>
                    <div class="portlet-body">

                        <!--Begin Semen-->

                        <div class="row">


                            <div class="portlet-title tbox">
                                <div class="caption font-green-haze col-md-6">
                                    <span class="caption-subject bold uppercase">Edit instruction</span>
                                </div>

                            </div>

                            <div class="clearfix"></div>
                            <?php if ($_smarty_tpl->tpl_vars['patientId']->value){?>
                            <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=updateit&patientid=<?php echo $_smarty_tpl->tpl_vars['patientId']->value;?>
" method="post" class="form-horizontal">
                            <?php }else{ ?>
                            <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=updateit" method="post" class="form-horizontal">
                            <?php }?>
                                <div class="form-body">


                                    <div class="form-group form-md-line-input">
                                        <label class="col-md-2 control-label" style="text-align: left;" for="form_control_1">File Name</label>
                                        <div class="col-md-10">
                                            <input type="text" class="form-control" id="form_control_1" placeholder="Enter Name" name="name"  value="<?php echo $_smarty_tpl->tpl_vars['editElement']->value->name;?>
">
                                            <div class="form-control-focus">
                                            </div>

                                        </div>
                                    </div>

                                    <div class="form-group form-md-line-input">
                                        <label class="col-md-2 control-label" style="text-align: left;" for="form_control_1">Content</label>
                                        <div class="col-md-10">
                                            <textarea class="form-control has-info ckeditor" rows="3" placeholder="Enter more text" name="content" required><?php echo $_smarty_tpl->tpl_vars['editElement']->value->content;?>
</textarea>
                                            <div class="form-control-focus">
                                            </div>
                                        </div>
                                    </div>

                                    <input type="hidden" id="id" name="id" value="<?php echo $_smarty_tpl->tpl_vars['editElement']->value->id;?>
" />

                                </div>




                                <div class="form-actions">
                                    <div class="row">
                                        <div class="col-md-offset-2 col-md-10">
                                         
                                            <?php if ($_smarty_tpl->tpl_vars['patientId']->value){?>
                                            <a class="btn default" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=show&patientid=<?php echo $_smarty_tpl->tpl_vars['patientId']->value;?>
">Cancel</a>
                                            <?php }else{ ?>
                                            <a class="btn default" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=show">Cancel</a>
                                            <?php }?>
                                            <button type="submit" class="btn blue">Submit</button>
                                        </div>
                                    </div>
                                </div>
                            </form>

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


<?php }} ?>