SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/views/admin/page_add_save.php

  1. <?php
  2. use Sprout\Helpers\Form;
  3. ?>
  4.  
  5.  
  6. <h2 class="icon-before icon-add">Add page</h2>
  7.  
  8. <?php
  9. Form::nextFieldDetails('Visibility', false);
  10. echo Form::checkboxBoolList(null, [], [
  11. 'active' => 'Active',
  12. 'show_in_nav' => 'Show in menu and search results',
  13. ]);
  14. ?>
  15.  
  16. <div class="save-changes-box-bottom -clearfix">
  17. <button class="save-changes-save-button button button-regular button-green icon-after icon-add" type="submit">Add page</button>
  18. </div>