<commit_before><?php include_partial('widgets/list', array('widgets' => $widgets, 'category' => 'loanitem','eid'=> $form->getObject()->getId() )); ?>
<?php slot('title', __('Edit Loan Item'));  ?>
<?php $action = 'loanitem/update?id='.$form->getObject()->getId() ;?>
<?php include_stylesheets_for_form($form) ?>
<?php include_javascripts_for_form($form) ?>
<div class="page">
    <h1 class="edit_mode"><?php echo __('Edit Loan Item');?></h1>
    <?php include_partial('loan/tabs', array('loan'=> $form->getObject()->getLoan(), 'item' => $form->getObject())); ?>
    <div class="tab_content">
      <?php echo form_tag($action, array('class'=>'edition loanitem_form','enctype'=>'multipart/form-data'));?>

        <?php include_partial('widgets/screen', array(
          'widgets' => $widgets,
          'category' => 'loanitemwidget',
          'columns' => 1,
          'options' => array('eid' => $form->getObject()->getId(), 'table' => 'loan_items')
          )); ?>
        <p class="clear"></p>
        <p class="form_buttons">
          &nbsp;<a href="<?php echo url_for('loan/index') ?>"><?php echo __('Cancel');?></a>
          <input type="submit" value="<?php echo __('Save');?>" id="submit_loan"/>
        </p>
      </form>
    </div>
    <script  type="text/javascript">
<commit_msg>add  to the widgets option<commit_after><?php include_partial('widgets/list', array('widgets' => $widgets, 'category' => 'loanitem','eid'=> $form->getObject()->getId() )); ?>
<?php slot('title', __('Edit Loan Item'));  ?>
<?php $action = 'loanitem/update?id='.$form->getObject()->getId() ;?>
<?php include_stylesheets_for_form($form) ?>
<?php include_javascripts_for_form($form) ?>
<div class="page">
    <h1 class="edit_mode"><?php echo __('Edit Loan Item');?></h1>
    <?php include_partial('loan/tabs', array('loan'=> $form->getObject()->getLoan(), 'item' => $form->getObject())); ?>
    <div class="tab_content">
      <?php echo form_tag($action, array('class'=>'edition loanitem_form','enctype'=>'multipart/form-data'));?>

        <?php include_partial('widgets/screen', array(
          'widgets' => $widgets,
          'category' => 'loanitemwidget',
          'columns' => 1,
          'options' => array('eid' => $form->getObject()->getId(), 'table' => 'loan_items','form' => $form)
          )); ?>
        <p class="clear"></p>
        <p class="form_buttons">
          &nbsp;<a href="<?php echo url_for('loan/index') ?>"><?php echo __('Cancel');?></a>
          <input type="submit" value="<?php echo __('Save');?>" id="submit_loan"/>
        </p>
      </form>
    </div>
    <script  type="text/javascript">

{'fraction_non_alphanumeric': 0.24265547500953835, 'fraction_numerical': 0.002289202594429607, 'mean_word_length': 4.022988505747127, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 100, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3311016', 'n_tokens_mistral': 861, 'n_tokens_neox': 838, 'n_words': 157}