SproutCMS

This is the code documentation for the SproutCMS project

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

  1. <?php
  2. use Sprout\Helpers\Form;
  3. ?>
  4.  
  5.  
  6. <style>
  7. #facebox button.close { display: none !important; }
  8. .widget-conds-wrap { width: 900px; }
  9. .widget-conds-wrap h2 { margin-top: 0; }
  10. </style>
  11.  
  12.  
  13. <div class="widget-conds-wrap">
  14. <form action="javascript:;" method="post" class="js--widget-conds-form">
  15.  
  16. <h2>Context engine</h2>
  17.  
  18. <?php
  19. Form::nextFieldDetails('Conditions', true);
  20. echo Form::conditionsList('conds', [], $cond_list_params);
  21. ?>
  22.  
  23.  
  24. <div class="text-align-right">
  25. <button class="js--cancel button button-grey" type="button">Cancel</button>
  26. &nbsp;
  27. <button class="js--save button button-green" type="submit">Save</button>
  28. </div>
  29. </form>
  30. </div>
  31.