<commit_before><div class="actions section">

  <h2 class="element-invisible"><?php echo __('Actions') ?></h2>

  <div class="content">
    <ul class="clearfix links">

      <?php if (isset($resource->id)): ?>
        <li><?php echo link_to(__('Cancel'), array($resource, 'module' => 'informationobject')) ?></li>
        <li><input class="form-submit" type="submit" value="<?php echo __('Save') ?>"/></li>
      <?php else: ?>
        <?php if (isset($sf_request->parent)): ?>
          <li><?php echo link_to(__('Cancel'), array($resource->parent, 'module' => 'informationobject')) ?></li>
        <?php else: ?>
          <li><?php echo link_to(__('Cancel'), array('module' => 'informationobject', 'action' => 'list')) ?></li>
        <?php endif; ?>
        <li><input class="form-submit" type="submit" value="<?php echo __('Create') ?>"/></li>
      <?php endif; ?>

    </ul>
  </div>

</div><commit_msg>Update informationobject/editActions layout<commit_after><section class="actions">
  <ul>
    <?php if (isset($resource->id)): ?>
      <li><?php echo link_to(__('Cancel'), array($resource, 'module' => 'informationobject'), array('class' => 'c-btn')) ?></li>
      <li><input class="c-btn c-btn-submit" type="submit" value="<?php echo __('Save') ?>"/></li>
    <?php else: ?>
      <?php if (isset($sf_request->parent)): ?>
        <li><?php echo link_to(__('Cancel'), array($resource->parent, 'module' => 'informationobject'), array('class' => 'c-btn')) ?></li>
      <?php else: ?>
        <li><?php echo link_to(__('Cancel'), array('module' => 'informationobject', 'action' => 'list'), array('class' => 'c-btn')) ?></li>
      <?php endif; ?>
      <li><input class="c-btn c-btn-submit" type="submit" value="<?php echo __('Create') ?>"/></li>
    <?php endif; ?>
  </ul>
</section>
{'fraction_non_alphanumeric': 0.2545961002785515, 'fraction_numerical': 0.0011142061281337048, 'mean_word_length': 3.9205479452054797, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 79, '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': '1889123', 'n_tokens_mistral': 564, 'n_tokens_neox': 577, 'n_words': 130}