<?php
/* Smarty version 3.1.34-dev-7, created on 2020-05-19 13:27:50
  from '/Applications/MAMP/htdocs/apstrix/crm-backend/ui/theme/default/modal_view_email_templates.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_5ec36e5677a349_62004069',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'f53a14abd5dfd1d54ff9963a9c6f4aea7c2568db' => 
    array (
      0 => '/Applications/MAMP/htdocs/apstrix/crm-backend/ui/theme/default/modal_view_email_templates.tpl',
      1 => 1581002483,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5ec36e5677a349_62004069 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h3>
        <?php echo $_smarty_tpl->tpl_vars['_L']->value['Email Templates'];?>

    </h3>
</div>
<div class="modal-body">
    <div class="ib-search-bar" style="margin-bottom: 30px;">
        <div class="input-group">
            <input type="text" class="form-control" id="ib_search_input" placeholder="<?php echo $_smarty_tpl->tpl_vars['_L']->value['Search'];?>
..." autofocus> </div>
    </div>

        <div>
        <table class="table table-bordered filter-table" id="tbl_email_templates">
            <thead>
            <tr>
                <th><?php echo $_smarty_tpl->tpl_vars['_L']->value['Name'];?>
</th>
                <th width="60%"><?php echo $_smarty_tpl->tpl_vars['_L']->value['Subject'];?>
</th>
                <th></th>
            </tr>
            </thead>
            <tbody>

            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tpls']->value, 'tpl');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['tpl']->value) {
?>

                <tr>

                    <td><?php echo $_smarty_tpl->tpl_vars['tpl']->value['tplname'];?>
</td>
                    <td><?php echo $_smarty_tpl->tpl_vars['tpl']->value['subject'];?>
</td>
                    <td><a href="#" class="btn btn-primary eml_select btn-xs" id="es<?php echo $_smarty_tpl->tpl_vars['tpl']->value['id'];?>
"><i class="fa fa-files-o"></i> </a> </td>

                </tr>

            <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

            </tbody>
        </table>
    </div>


</div>
<div class="modal-footer">


    <button type="button" data-dismiss="modal" class="btn btn-danger"><?php echo $_smarty_tpl->tpl_vars['_L']->value['Cancel'];?>
</button>
    <button class="btn btn-primary modal_submit" type="submit" id="modal_submit"><i
                class="fa fa-check"></i> <?php echo $_smarty_tpl->tpl_vars['_L']->value['Save'];?>
</button>
</div><?php }
}
