<?php
/* Smarty version 5.4.2, created on 2024-12-24 20:44:46
  from 'file:/Users/razib/Herd/suite/ui/theme/default/../../../apps/chat-ai/views/prompt-library.tpl' */

/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
  'version' => '5.4.2',
  'unifunc' => 'content_676b638e180311_86773339',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '57e9970997495c2a629d7805303476cc2db0e114' => 
    array (
      0 => '/Users/razib/Herd/suite/ui/theme/default/../../../apps/chat-ai/views/prompt-library.tpl',
      1 => 1735090994,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
))) {
function content_676b638e180311_86773339 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/Users/razib/Herd/suite/apps/chat-ai/views';
?><div class="mx-auto" style="max-width: 800px;">
    <div class="card">
        <div class="card-body">
            <table class="table table-hover" id="modal_items_table">
                <thead>
                <tr>
                    <th>Title</th>
                    <th>Prompt</th>
                    <th>Manage</th>
                </tr>
                </thead>
                <tbody>

                <?php
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('prompts'), 'prompt');
$foreach0DoElse = true;
foreach ($_from ?? [] as $_smarty_tpl->getVariable('prompt')->value) {
$foreach0DoElse = false;
?>

                    <tr>
                        <td>
                            <?php if (!empty($_smarty_tpl->getValue('prompt')->title)) {?>
                                <?php echo $_smarty_tpl->getValue('prompt')->title;?>

                            <?php }?>
                        </td>
                        <td>
                            <?php if (!empty($_smarty_tpl->getValue('prompt')->prompt)) {?>
                                <?php echo $_smarty_tpl->getValue('prompt')->prompt;?>

                            <?php }?>
                        </td>
                        <td>
                            <div class="btn-group">
                                <a class="btn btn-sm btn-info" href="javascript:void(0)">User</a>
                            </div>
                        </td>
                    </tr>

                <?php
}
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>


                </tbody>
            </table>
        </div>
    </div>
</div>
<?php }
}
