<?php /* Smarty version Smarty-3.1.11, created on 2025-06-10 15:30:02
         compiled from "../views/obgy/instruction/edit.html" */ ?>
<?php /*%%SmartyHeaderCode:15513380046848254ae1ae60-16124245%%*/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 => 1477471866,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15513380046848254ae1ae60-16124245',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'patientId' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'editElement' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6848254ae84088_21036105',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6848254ae84088_21036105')) {function content_6848254ae84088_21036105($_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 }} ?>